diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-02-13 14:01:05 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-20 09:34:31 +0000 |
commit | 7435b791ca9c76b11a9dba4beb60656f951432c1 (patch) | |
tree | bf3186d1b68a69c9fa3bd3e4ee19c25d6b81a3d7 /hw/pc.h | |
parent | 1c9c5fcdfef9d97e5f6d4ce37d41a205a26f0347 (diff) | |
download | qemu-7435b791ca9c76b11a9dba4beb60656f951432c1.zip qemu-7435b791ca9c76b11a9dba4beb60656f951432c1.tar.gz qemu-7435b791ca9c76b11a9dba4beb60656f951432c1.tar.bz2 |
vga-isa: convert to qdev
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |