diff options
author | Marvin Borner | 2020-08-05 21:33:48 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-05 21:33:48 +0200 |
commit | 835960fd85989ee961b5a932f467e6e4f545d201 (patch) | |
tree | d93c67e51189eec12fb43ef860deba92e9017329 /src/inc/cpu.h | |
parent | 4af62bb53676b7f721b46cabee78cac3a557e924 (diff) |
Added some cpu function wrappers
Diffstat (limited to 'src/inc/cpu.h')
-rw-r--r-- | src/inc/cpu.h | 4 |
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) { |