diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-08 16:58:57 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-06 18:48:38 +0200 |
commit | 14e7a6456e1dba2c6499b3b05637fee9f553e6ce (patch) | |
tree | 65a82f8b9fb636a41865cefcdc0f46cdba20d521 /hw/isa.h | |
parent | 129d42fb8496de5c1896160fddab949784d4dea4 (diff) |
isa: add a isa_vga_init() function
This function create a ISA VGA device according to the value of
vga_interface_type. It returns a ISADevice (and not a DeviceState).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/isa.h')
-rw-r--r-- | hw/isa.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ ISADevice *isa_create(ISABus *bus, const char *name); ISADevice *isa_try_create(ISABus *bus, const char *name); ISADevice *isa_create_simple(ISABus *bus, const char *name); +ISADevice *isa_vga_init(ISABus *bus); + /** * isa_register_ioport: Install an I/O port region on the ISA bus. * |