mirror of https://github.com/E-Almqvist/eOS
parent
817c46e3e0
commit
a97c9f7018
@ -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…
Reference in new issue