Code cleanup
This commit is contained in:
parent
202e0bb0ce
commit
9bd6b85451
|
@ -11,9 +11,11 @@
|
|||
.global ioport_write8
|
||||
.type ioport_write8, @function
|
||||
ioport_write8:
|
||||
mov 0x8(%esp), %dx
|
||||
mov 0xc(%esp), %al
|
||||
out %al, %dx
|
||||
mov $0x0, %eax
|
||||
mov 0x8(%esp), %dx /* address */
|
||||
mov 0xc(%esp), %al /* value */
|
||||
out %al, %dx
|
||||
|
||||
/* return 0 */
|
||||
mov $0x0, %eax
|
||||
ret
|
||||
#endif
|
||||
|
|
|
@ -34,6 +34,7 @@ ukBus * bus_init(void)
|
|||
}
|
||||
|
||||
|
||||
/* private */
|
||||
/* useful */
|
||||
/* ioport_write16 */
|
||||
static int _ioport_write16(ukBus * bus, ukBusAddress * address, uint16_t value)
|
||||
|
|
Loading…
Reference in New Issue
Block a user