diff options
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/io.c | 4 | ||||
-rw-r--r-- | src/io/io.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/io/io.c b/src/io/io.c index d617cf2..2f42d04 100644 --- a/src/io/io.c +++ b/src/io/io.c @@ -4,6 +4,6 @@ unsigned char receive(unsigned short port) { return value; } -void send(unsigned short _port, unsigned char _data) { - __asm__ __volatile__ ("outb %1, %0" : : "dN" (_port), "a" (_data)); +void send(unsigned short port, unsigned char data) { + __asm__ __volatile__ ("outb %1, %0" : : "dN" (port), "a" (data)); } diff --git a/src/io/io.h b/src/io/io.h index 8d3beda..41042c3 100644 --- a/src/io/io.h +++ b/src/io/io.h @@ -5,6 +5,6 @@ unsigned char receive(unsigned short port); -void send(unsigned short _port, unsigned char _data); +void send(unsigned short port, unsigned char data); #endif |