diff options
Diffstat (limited to 'arch/x86_64/pre/src/kernel/cpu/if.cpp')
| -rw-r--r-- | arch/x86_64/pre/src/kernel/cpu/if.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86_64/pre/src/kernel/cpu/if.cpp b/arch/x86_64/pre/src/kernel/cpu/if.cpp deleted file mode 100644 index 5d056fc..0000000 --- a/arch/x86_64/pre/src/kernel/cpu/if.cpp +++ /dev/null @@ -1,13 +0,0 @@ -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 |
