summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/Kernel/HALKit/ARM64/Processor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev/Kernel/HALKit/ARM64/Processor.h b/dev/Kernel/HALKit/ARM64/Processor.h
index 911ddf29..41e96c19 100644
--- a/dev/Kernel/HALKit/ARM64/Processor.h
+++ b/dev/Kernel/HALKit/ARM64/Processor.h
@@ -76,6 +76,11 @@ namespace Kernel::HAL
{
return *reinterpret_cast<volatile DataKind*>(address);
}
+
+ inline Void hal_wfi(Void)
+ {
+ asm volatile ("wfi");
+ }
} // namespace Kernel::HAL
inline Kernel::VoidPtr kKernelBitMpStart = nullptr;