aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 64a3a22679..475484ac2c 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -181,7 +181,13 @@ enum vga_retrace_method {
extern enum vga_retrace_method vga_retrace_method;
-int isa_vga_init(void);
+static inline int isa_vga_init(void)
+{
+ isa_create_simple("isa-vga");
+
+ return 0;
+}
+
int pci_vga_init(PCIBus *bus);
int isa_vga_mm_init(target_phys_addr_t vram_base,
target_phys_addr_t ctrl_base, int it_shift);