aboutsummaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-05 21:33:48 +0200
committerMarvin Borner2020-08-05 21:33:48 +0200
commit835960fd85989ee961b5a932f467e6e4f545d201 (patch)
treed93c67e51189eec12fb43ef860deba92e9017329 /src/inc
parent4af62bb53676b7f721b46cabee78cac3a557e924 (diff)
Added some cpu function wrappers
Diffstat (limited to 'src/inc')
-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)
{