summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-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;