diff options
author | David <dbphillipsnz@gmail.com> | 2014-03-27 20:03:33 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-03-27 20:32:48 +1300 |
commit | 009a998876458f1cbab925c56c95b90d48d72157 (patch) | |
tree | 5db5de0a8ce75e9285b4d647cfd685bec5aefd1c /lowlevel.c | |
parent | 5d944dfe9f03c9fb43271199d2ba4b8880747614 (diff) | |
download | toast-009a998876458f1cbab925c56c95b90d48d72157.tar.xz |
Added a bunch of things. This is the epitome of a bad commit message
Diffstat (limited to 'lowlevel.c')
-rw-r--r-- | lowlevel.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,22 +21,22 @@ #include <toast.h> -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 |