diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-24 17:44:21 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-27 07:02:35 +0100 |
| commit | 42895684b631380c8aca94f82209297ac0c0e5f2 (patch) | |
| tree | efac91c2f9431ed66c7616da906dd93859127c1f /arch/x86_64/src | |
| parent | 3888a111be2e6b2a53b10752de36d58f18fc8874 (diff) | |
| download | teachos-42895684b631380c8aca94f82209297ac0c0e5f2.tar.xz teachos-42895684b631380c8aca94f82209297ac0c0e5f2.zip | |
kapi: extract interrupt enablement
Diffstat (limited to 'arch/x86_64/src')
| -rw-r--r-- | arch/x86_64/src/cpu/interrupts.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86_64/src/cpu/interrupts.cpp b/arch/x86_64/src/cpu/interrupts.cpp index 6f66bbd..dc236e6 100644 --- a/arch/x86_64/src/cpu/interrupts.cpp +++ b/arch/x86_64/src/cpu/interrupts.cpp @@ -168,14 +168,4 @@ namespace arch::cpu return idtr; } - auto enable_interrupts() -> void - { - asm volatile("sti"); - } - - auto disable_interrupts() -> void - { - asm volatile("cli"); - } - } // namespace arch::cpu
\ No newline at end of file |
