diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-01-15 02:43:19 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-01-16 12:02:44 -0500 |
commit | b3df857fe6d3fffb108379637ea4a456ce6e09ba (patch) | |
tree | dc5aff8c022d0a7147b7fb40501605c4fa152d07 /vgasrc/vbe.c | |
parent | 5f4ce9e9bed74f84b6019524f356f125e0c3036e (diff) | |
download | qemu-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.c | 3 |
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; } |