diff options
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/if.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/cpu/if.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/cpu/if.cpp b/arch/x86_64/src/kernel/cpu/if.cpp index 2a25df5..60a90a3 100644 --- a/arch/x86_64/src/kernel/cpu/if.cpp +++ b/arch/x86_64/src/kernel/cpu/if.cpp @@ -2,4 +2,6 @@ namespace teachos::arch::kernel::cpu { auto set_interrupt_flag() -> void { asm volatile("sti"); } + auto clear_interrupt_flag() -> void { asm volatile("cli"); } + } // namespace teachos::arch::kernel::cpu |
