diff options
author | dzwdz | 2022-04-11 23:29:30 +0200 |
---|---|---|
committer | dzwdz | 2022-04-11 23:29:30 +0200 |
commit | 75ec633805db108bfddb6454ff7f8d812475feaf (patch) | |
tree | 6d558a64569648b9b425e3a568edc67c6d06298b /src/kernel/arch/i386/boot.s | |
parent | 07b7e8ad787180b7e3eaccc819b9e5c4802edfcd (diff) |
kernel: implement `cpu_pause()` in assembly, remove `irq_interrupt_flag()`
Diffstat (limited to 'src/kernel/arch/i386/boot.s')
-rw-r--r-- | src/kernel/arch/i386/boot.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/boot.s b/src/kernel/arch/i386/boot.s index ea31aa1..24c076f 100644 --- a/src/kernel/arch/i386/boot.s +++ b/src/kernel/arch/i386/boot.s @@ -23,3 +23,12 @@ halt_cpu: cli 1: hlt jmp 1b + + +.global cpu_pause +.type cpu_pause, @function +cpu_pause: + sti + hlt + cli + ret |