// Copyright (C) 2005 Struan Bartlett
// Copyright (C) 2004 Fabrice Bellard
//
-// This file may be distributed under the terms of the GNU GPLv3 license.
+// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "farptr.h" // GET_VAR
-#include "biosvar.h" // struct bregs
+#include "bregs.h" // struct bregs
#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)
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);