diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-12-13 11:10:37 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-12-13 11:10:37 -0500 |
commit | 15157a3c6d5a84088532cf26b631224a18c78cbb (patch) | |
tree | fd30dad906cd5df96153857210b562d600256cb5 /src/apm.c | |
parent | 4e6c9706240a33e13de3da98815d8f4d281a9e9a (diff) | |
download | seabios-hppa-15157a3c6d5a84088532cf26b631224a18c78cbb.zip seabios-hppa-15157a3c6d5a84088532cf26b631224a18c78cbb.tar.gz seabios-hppa-15157a3c6d5a84088532cf26b631224a18c78cbb.tar.bz2 |
Implement GET/SET_GLOBAL(...) instead of using GET/SET_VAR(CS, ...)
Diffstat (limited to 'src/apm.c')
-rw-r--r-- | src/apm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ #include "ioport.h" // outb #include "util.h" // irq_enable #include "config.h" // CONFIG_* +#include "biosvar.h" // GET_GLOBAL static void out_str(const char *str_cs) @@ -22,7 +23,7 @@ out_str(const char *str_cs) u8 *s = (u8*)str_cs; for (;;) { - u8 c = GET_VAR(CS, *s); + u8 c = GET_GLOBAL(*s); if (!c) break; outb(c, PORT_BIOS_APM); |