projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21ae81
)
init VGA with default config
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 5 Jun 2004 18:49:26 +0000
(18:49 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 5 Jun 2004 18:49:26 +0000
(18:49 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@900
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index 1e8466ef10569ed585b3809060393603dfe25a67..e72071590c6674b42e1354053846c3fc43227a5b 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-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];