diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-05 18:49:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-05 18:49:26 +0000 |
commit | 4c7634bcb3643f83405501d328a5e6dd5cb42719 (patch) | |
tree | 2b00ef0ed5add097a73ddccad336012fc65b41d4 /hw/pci.c | |
parent | a21ae81d8ad647cb9b7869367edf646f37e4e4e5 (diff) | |
download | qemu-4c7634bcb3643f83405501d328a5e6dd5cb42719.zip qemu-4c7634bcb3643f83405501d328a5e6dd5cb42719.tar.gz qemu-4c7634bcb3643f83405501d328a5e6dd5cb42719.tar.bz2 |
init VGA with default config
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@900 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1030,6 +1030,8 @@ static void pci_bios_init_device(PCIDevice *d) } break; case 0x0300: + if (vendor_id != 0x1234) + goto default_map; /* VGA: map frame buffer to default Bochs VBE address */ pci_set_io_region_addr(d, 0, 0xE0000000); break; @@ -1040,6 +1042,7 @@ static void pci_bios_init_device(PCIDevice *d) } break; default: + default_map: /* default memory mappings */ for(i = 0; i < PCI_NUM_REGIONS; i++) { r = &d->io_regions[i]; |