summary refs log tree commit diff stats
path: root/hw/vga-isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vga-isa.c')
-rw-r--r--hw/vga-isa.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 5f29904133..793714417a 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -42,11 +42,7 @@ int isa_vga_init(void)
     s->ds = graphic_console_init(s->update, s->invalidate,
                                  s->screen_dump, s->text_update, s);
 
-#ifdef CONFIG_BOCHS_VBE
-    /* XXX: use optimized standard vga accesses */
-    cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
-                                 VGA_RAM_SIZE, s->vram_offset);
-#endif
+    vga_init_vbe(s);
     /* ROM BIOS */
     rom_add_vga(VGABIOS_FILENAME);
     return 0;