From 009a998876458f1cbab925c56c95b90d48d72157 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 27 Mar 2014 20:03:33 +1300 Subject: Added a bunch of things. This is the epitome of a bad commit message --- lowlevel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lowlevel.c') diff --git a/lowlevel.c b/lowlevel.c index 0fc353a..4b78757 100644 --- a/lowlevel.c +++ b/lowlevel.c @@ -21,22 +21,22 @@ #include -void outb(uint16_t p,uint8_t val) +void outb(uint16_t port, uint8_t data) { asm("outb %%al,%%dx;" : - :"d"(p),"a"(val) + :"d"(port),"a"(data) ); } void disable_ints() { - asm("cli"::); + asm("cli"); } void enable_ints() { - asm("sti"::); + asm("sti"); } #endif \ No newline at end of file -- cgit v1.1