aboutsummaryrefslogtreecommitdiff
path: root/src/apm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-13 11:10:37 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-13 11:10:37 -0500
commit15157a3c6d5a84088532cf26b631224a18c78cbb (patch)
treefd30dad906cd5df96153857210b562d600256cb5 /src/apm.c
parent4e6c9706240a33e13de3da98815d8f4d281a9e9a (diff)
downloadseabios-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apm.c b/src/apm.c
index 20786c0..fbbd511 100644
--- a/src/apm.c
+++ b/src/apm.c
@@ -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);