aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-13 14:01:05 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-20 09:34:31 +0000
commit7435b791ca9c76b11a9dba4beb60656f951432c1 (patch)
treebf3186d1b68a69c9fa3bd3e4ee19c25d6b81a3d7 /hw/pc.h
parent1c9c5fcdfef9d97e5f6d4ce37d41a205a26f0347 (diff)
vga-isa: convert to qdev
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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);