diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-18 16:36:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-18 16:36:26 -0400 |
commit | a0e53b514961ee83b723a657b109856a16bf5362 (patch) | |
tree | 1fe7f3b94daf0f69696807f83a40b73807476106 | |
parent | 10d42916f7888bfdefce401dc0b0eccd26a5ec69 (diff) |
kernel/aarch64: cdefs: Make halt macro proper
- md_halt() -> md_hlt()
- Pass dummy operand
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/arch/aarch64/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/arch/aarch64/cdefs.h b/sys/include/arch/aarch64/cdefs.h index 456a7fb..aaf8649 100644 --- a/sys/include/arch/aarch64/cdefs.h +++ b/sys/include/arch/aarch64/cdefs.h @@ -36,6 +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") +#define md_hlt() __ASMV("hlt #0") #endif /* !_AARCH64_CDEFS_H_ */ |