aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/cpu.h
diff options
context:
space:
mode:
authorMarvin Borner2020-08-16 00:44:53 +0200
committerMarvin Borner2020-08-16 00:44:53 +0200
commitc4a0bc2571162ad83fc51eb823f1c535336041bf (patch)
treecba1169a027fea8884e882be601bf3cbaeaab654 /libc/inc/cpu.h
parent9a827eb5f6ff58bf801bc98bcb653876428ebe69 (diff)
Added psf/gui to libgui
...and some other things
Diffstat (limited to 'libc/inc/cpu.h')
-rw-r--r--libc/inc/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/inc/cpu.h b/libc/inc/cpu.h
index 2d367cb..c25dc60 100644
--- a/libc/inc/cpu.h
+++ b/libc/inc/cpu.h
@@ -13,11 +13,14 @@ 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);
+
+#ifdef kernel
void cli();
void sti();
void hlt();
void idle();
void loop();
+#endif
static inline void spinlock(int *ptr)
{