summaryrefslogtreecommitdiff
path: root/vgasrc/vbe.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-01-15 02:43:19 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-01-16 12:02:44 -0500
commitb3df857fe6d3fffb108379637ea4a456ce6e09ba (patch)
treedc5aff8c022d0a7147b7fb40501605c4fa152d07 /vgasrc/vbe.c
parent5f4ce9e9bed74f84b6019524f356f125e0c3036e (diff)
downloadqemu-seabios-b3df857fe6d3fffb108379637ea4a456ce6e09ba.tar.gz
vgabios: Make VBE code depend on a config setting.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vbe.c')
-rw-r--r--vgasrc/vbe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vgasrc/vbe.c b/vgasrc/vbe.c
index 14efece..d7dd8b4 100644
--- a/vgasrc/vbe.c
+++ b/vgasrc/vbe.c
@@ -13,7 +13,6 @@
#include "biosvar.h" // get_global_set
#include "vgahw.h" // vgahw_set_mode
-int VBE_enabled VAR16;
u32 VBE_total_memory VAR16 = 256 * 1024;
u32 VBE_capabilities VAR16;
u32 VBE_framebuffer VAR16;
@@ -257,7 +256,7 @@ vbe_104fXX(struct bregs *regs)
void
handle_104f(struct bregs *regs)
{
- if (!GET_GLOBAL(VBE_enabled)) {
+ if (!CONFIG_VGA_VBE) {
vbe_104fXX(regs);
return;
}