feat: reformatted code
This commit is contained in:
@@ -31,6 +31,7 @@ unsigned short port_word_in(unsigned short port) {
|
||||
void port_word_out(unsigned short port, unsigned short data) {
|
||||
__asm__("out %%ax, %%dx" : : "a" (data), "d" (port));
|
||||
}
|
||||
|
||||
unsigned int port_double_word_in(unsigned int port) {
|
||||
unsigned int result;
|
||||
__asm__("in %%dx, %%eax" : "=a" (result) : "d" (port));
|
||||
|
||||
Reference in New Issue
Block a user