]> xenbits.xensource.com Git - seabios.git/commitdiff
vgabios: Define PlatformRunningOn to make compile happy.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 14 Apr 2014 14:46:34 +0000 (10:46 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 14 Apr 2014 14:46:34 +0000 (10:46 -0400)
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>
vgasrc/vgainit.c

index 6d9a224db1fa7a019d662ca9b2d47455ef5f5607..9d6dd1eeb6adb1c6d736aa869b7edfac78cf6b08 100644 (file)
@@ -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