diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-03-20 15:30:18 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-03-20 15:30:18 +0000 |
| commit | b6ee8bec7ed23fd0c544f67f735e96b2bfe67682 (patch) | |
| tree | 1c738088d75bd7e1299d3b695e74e96d68878fc4 /arch/x86_64/src/kernel/cpu/if.cpp | |
| parent | 7a98b1dcb1f4436664a8f1a5d6e71ab2c65378f0 (diff) | |
| download | teachos-b6ee8bec7ed23fd0c544f67f735e96b2bfe67682.tar.xz teachos-b6ee8bec7ed23fd0c544f67f735e96b2bfe67682.zip | |
begin implementation of IDT
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/if.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/cpu/if.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/cpu/if.cpp b/arch/x86_64/src/kernel/cpu/if.cpp new file mode 100644 index 0000000..2a25df5 --- /dev/null +++ b/arch/x86_64/src/kernel/cpu/if.cpp @@ -0,0 +1,5 @@ +namespace teachos::arch::kernel::cpu +{ + auto set_interrupt_flag() -> void { asm volatile("sti"); } + +} // namespace teachos::arch::kernel::cpu |
