summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/RISCV/AP.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/HALKit/RISCV/AP.h')
-rw-r--r--src/kernel/HALKit/RISCV/AP.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/HALKit/RISCV/AP.h b/src/kernel/HALKit/RISCV/AP.h
index b699d50f..0d8fbd94 100644
--- a/src/kernel/HALKit/RISCV/AP.h
+++ b/src/kernel/HALKit/RISCV/AP.h
@@ -11,7 +11,8 @@
======================================== */
-#pragma once
+#ifndef HALKIT_AP_H
+#define HALKIT_AP_H
#include <NeKit/Config.h>
@@ -33,3 +34,5 @@ typedef struct HAL_HARDWARE_THREAD {
/// @return
EXTERN_C Kernel::Void hal_set_pc_to_hart(HAL_HARDWARE_THREAD* hart, Kernel::VoidPtr epc);
} // namespace Kernel
+
+#endif