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