aboutsummaryrefslogtreecommitdiff
path: root/i686/sys/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'i686/sys/control.h')
-rw-r--r--i686/sys/control.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/i686/sys/control.h b/i686/sys/control.h
deleted file mode 100644
index 89ab067..0000000
--- a/i686/sys/control.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-static __inline__ void
-abort()
-{
- /* Symbol h is already defined?
-__asm__(R"(cli
-h: hlt
-jmp h)");
-*/
- __asm__("cli; hlt");
-}
-
-static __inline__ void
-enable_interrupts()
-{
- __asm__("sti");
-}
-
-static __inline__ void
-disable_interrupts()
-{
- __asm__("cli");
-}