A poorly written OS for the x86 arch. (WIP)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
eOS/kernel/io.h

14 lines
383 B

unsigned char inb(unsigned short);
void outb(unsigned short, unsigned char);
unsigned short inw(unsigned short);
void outw(unsigned short, unsigned short);
static inline void io_wait();
// wrappers but with io_wait
unsigned char inb_w(unsigned short);
void outb_w(unsigned short, unsigned char);
unsigned short inw_w(unsigned short);
void outw_w(unsigned short, unsigned short);