pull/26/head
E. Almqvist 3 years ago
parent 817c46e3e0
commit a97c9f7018
  1. 10
      kernel/io.c
  2. 0
      kernel/io.h

@ -0,0 +1,10 @@
unsigned char port_byte_in(unsigned short port) {
unsigned char res;
__asm__("in %%dx, %%al" : "=a" (res) : "d" (port));
return res;
}
void port_byte_out(unsigned short port, unsigned char data) {
}
Loading…
Cancel
Save