diff options
Diffstat (limited to 'i686/sys/control.h')
-rw-r--r-- | i686/sys/control.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/i686/sys/control.h b/i686/sys/control.h deleted file mode 100644 index 7dde3c8..0000000 --- a/i686/sys/control.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -static inline void -abort() -{ - /* Symbol h is already defined? -asm volatile(R"(cli -h: hlt -jmp h)"); -*/ - asm volatile(R"(cli -hlt)"); -} - -static inline void -enable_interrupts() -{ - asm volatile("sti"); -} - -static inline void -disable_interrupts() -{ - asm volatile("cli"); -} |