VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/CommonLib/X64
diff options
context:
space:
mode:
Diffstat (limited to 'Library/CommonLib/X64')
-rw-r--r--Library/CommonLib/X64/EfiCpuHalt.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/CommonLib/X64/EfiCpuHalt.asm b/Library/CommonLib/X64/EfiCpuHalt.asm
new file mode 100644
index 0000000..7893234
--- /dev/null
+++ b/Library/CommonLib/X64/EfiCpuHalt.asm
@@ -0,0 +1,17 @@
+ .code
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; CpuHalt (
+; VOID
+; );
+;------------------------------------------------------------------------------
+EfiCpuHalt PROC
+ cli
+l: hlt
+ jmp l
+ ret
+EfiCpuHalt ENDP
+
+ END