summaryrefslogtreecommitdiff
path: root/x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'x86.h')
-rw-r--r--x86.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/x86.h b/x86.h
index 80a4130..cc809e7 100644
--- a/x86.h
+++ b/x86.h
@@ -304,20 +304,6 @@ read_tsc(void)
return tsc;
}
-// disable interrupts
-static __inline void
-cli(void)
-{
- __asm __volatile("cli");
-}
-
-// enable interrupts
-static __inline void
-sti(void)
-{
- __asm __volatile("sti");
-}
-
struct PushRegs {
/* registers as pushed by pusha */
uint32_t reg_edi;