summaryrefslogtreecommitdiff
path: root/src/console/vga_console.c
diff options
context:
space:
mode:
authorarch import user (historical) <svn@openbios.org>2005-07-06 17:15:48 +0000
committerarch import user (historical) <svn@openbios.org>2005-07-06 17:15:48 +0000
commitacfaeceffd8b97715905f074a76e0d12f0d83889 (patch)
tree4a7c4b12a2dff67225cc39e0f47c4d0eac84979b /src/console/vga_console.c
parent9c3f37cb5f741d7b2ba7852a16ffb82ee40968e9 (diff)
downloadcoreboot-acfaeceffd8b97715905f074a76e0d12f0d83889.tar.xz
Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-36
Creator: Li-Ta Lo <ollie@lanl.gov> emulator update Correction to the reduce emulator from Paulo git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1952 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/vga_console.c')
-rw-r--r--src/console/vga_console.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/console/vga_console.c b/src/console/vga_console.c
index 31e29f8dbb..bdd56f3923 100644
--- a/src/console/vga_console.c
+++ b/src/console/vga_console.c
@@ -10,14 +10,16 @@
#include <pc80/vga.h>
#include <console/console.h>
-//extern void beep(int ms);
-
/* The video buffer, should be replaced by symbol in ldscript.ld */
static char *vidmem;
int vga_line, vga_col;
+#if CONFIG_CONSOLE_VGA == 1
extern int vga_inited; // it will be changed in pci_rom.c
+#else
+int vga_inited = 0;
+#endif
static int vga_console_inited = 0;