diff options
author | arch import user (historical) <svn@openbios.org> | 2005-07-06 17:16:09 +0000 |
---|---|---|
committer | arch import user (historical) <svn@openbios.org> | 2005-07-06 17:16:09 +0000 |
commit | dc811185703a1ee01964c938d428d66e96afb30b (patch) | |
tree | 08719fa9770d7c0182c68a0d7811a7abf030cff3 /src/console/vga_console.c | |
parent | 785b1b6e994d4d6ffa78e84b9a0353d54ed201bb (diff) |
Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-44
Creator: Li-Ta Lo <ollie@lanl.gov>
Correct VGA support
Make the VGA support for both VGA and no VGA cases.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1960 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/vga_console.c')
-rw-r--r-- | src/console/vga_console.c | 6 |
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; |