From 9e802f11a673c63d3fac395f151c80d6cfc4caf4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 15 Sep 2019 18:53:25 +0200 Subject: Fixed keyboard and added terminal overflow scrolling --- src/io/io.c | 4 ++-- src/io/io.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/io') 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 -- cgit v1.2.3