x86_64: re-implement ml_halt_cpu() in pure assembly

This commit is contained in:
2023-02-05 10:27:29 +00:00
parent 2b2c5a24da
commit 72b2d8d525
2 changed files with 11 additions and 1 deletions

8
arch/x86_64/cpu_ctrl.S Normal file
View File

@@ -0,0 +1,8 @@
.global ml_halt_cpu
.type ml_halt_cpu, @function
ml_halt_cpu:
1: cli
hlt
jmp 1b