aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-04-14 10:46:34 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-04-14 10:46:34 -0400
commitfe2cbf6d606e138055b00b0aac6162503a5fb38d (patch)
treeb6f6bc1389b6226e29d38149f344d50738b88244 /vgasrc
parent413d1c3b8bed19d020f93c7df2a2e3a62051fb7f (diff)
downloadseabios-fe2cbf6d606e138055b00b0aac6162503a5fb38d.tar.gz
seabios-fe2cbf6d606e138055b00b0aac6162503a5fb38d.tar.xz
seabios-fe2cbf6d606e138055b00b0aac6162503a5fb38d.zip
vgabios: Define PlatformRunningOn to make compile happy.
With CONFIG_COREBOOT=y, CONFIG_QEMU_HARDWARE=y, CONFIG_VGA_COREBOOT=y, CONFIG_DEBUG_IO=y the compile would break because this variable was missing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/vgainit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vgasrc/vgainit.c b/vgasrc/vgainit.c
index 6d9a224..9d6dd1e 100644
--- a/vgasrc/vgainit.c
+++ b/vgasrc/vgainit.c
@@ -32,6 +32,9 @@ struct VideoSavePointer_s video_save_pointer_table VAR16;
struct VideoParam_s video_param_table[29] VAR16;
+// Type of emulator platform - for dprintf with certain compile options.
+int PlatformRunningOn VAR16;
+
/****************************************************************
* PCI Data