diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-27 01:26:44 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-27 01:26:44 -0400 |
commit | bc883188afb45dec4a3319ae05ebf6caab70f13a (patch) | |
tree | 826f0575ec73a56c88c9e512860dd4bbef3a4e8b /sys/include/arch/aarch64/cdefs.h | |
parent | 1dff0a2f878b8f70d175cb0d7cdd9ab3ffcb2f64 (diff) |
kernel: Add md_halt()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/aarch64/cdefs.h')
-rw-r--r-- | sys/include/arch/aarch64/cdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/aarch64/cdefs.h b/sys/include/arch/aarch64/cdefs.h index a22c436..456a7fb 100644 --- a/sys/include/arch/aarch64/cdefs.h +++ b/sys/include/arch/aarch64/cdefs.h @@ -36,5 +36,6 @@ #define md_pause() __ASMV("yield") #define md_intoff() __ASMV("msr daifset, #2") #define md_inton() __ASMV("msr daifclr, #2") +#define md_halt() __ASMV("hlt") #endif /* !_AARCH64_CDEFS_H_ */ |