aboutsummaryrefslogtreecommitdiff
path: root/src/inc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/cpu.h')
-rw-r--r--src/inc/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inc/cpu.h b/src/inc/cpu.h
index 092fd3f..eb09291 100644
--- a/src/inc/cpu.h
+++ b/src/inc/cpu.h
@@ -13,6 +13,10 @@ void insl(u16 port, void *addr, int n);
void outb(u16 port, u8 data);
void outw(u16 port, u16 data);
void outl(u16 port, u32 data);
+void cli();
+void sti();
+void hlt();
+void idle();
static inline void spinlock(int *ptr)
{