Reorganized source tree
This commit is contained in:
13
src/x86/pio.S
Normal file
13
src/x86/pio.S
Normal file
@@ -0,0 +1,13 @@
|
||||
.global outb
|
||||
outb:
|
||||
mov 4(%esp), %dx
|
||||
mov 8(%esp), %al
|
||||
out %al, %dx
|
||||
ret
|
||||
|
||||
.global inb
|
||||
inb:
|
||||
mov 4(%esp), %dx
|
||||
xor %eax, %eax
|
||||
in %dx, %al
|
||||
ret
|
||||
Reference in New Issue
Block a user