From c4a0bc2571162ad83fc51eb823f1c535336041bf Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 16 Aug 2020 00:44:53 +0200 Subject: Added psf/gui to libgui ...and some other things --- libc/inc/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/inc/cpu.h') 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) { -- cgit v1.2.3