From 835960fd85989ee961b5a932f467e6e4f545d201 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 5 Aug 2020 21:33:48 +0200 Subject: Added some cpu function wrappers --- src/inc/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/inc/cpu.h') 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) { -- cgit v1.2.3