mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Revert "Merge remote-tracking branch 'qemu-kvm/memory/batch' into staging"
This reverts commit8ef9ea85a2
, reversing changes made to444dc48298
. From Avi: Please revert the entire pull (git revert8ef9ea85a2
) while I work this out - it isn't trivial. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f065aa0a00
commit
01e0451a08
49 changed files with 657 additions and 637 deletions
|
@ -142,7 +142,6 @@ static void i440fx_update_memory_mappings(PCII440FXState *d)
|
|||
int i, r;
|
||||
uint32_t smram;
|
||||
|
||||
memory_region_transaction_begin();
|
||||
update_pam(d, 0xf0000, 0x100000, (d->dev.config[I440FX_PAM] >> 4) & 3,
|
||||
&d->pam_regions[0]);
|
||||
for(i = 0; i < 12; i++) {
|
||||
|
@ -163,7 +162,6 @@ static void i440fx_update_memory_mappings(PCII440FXState *d)
|
|||
d->smram_enabled = false;
|
||||
}
|
||||
}
|
||||
memory_region_transaction_commit();
|
||||
}
|
||||
|
||||
static void i440fx_set_smm(int val, void *arg)
|
||||
|
@ -237,16 +235,9 @@ static int i440fx_pcihost_initfn(SysBusDevice *dev)
|
|||
{
|
||||
I440FXState *s = FROM_SYSBUS(I440FXState, dev);
|
||||
|
||||
memory_region_init_io(&s->conf_mem, &pci_host_conf_le_ops, s,
|
||||
"pci-conf-idx", 4);
|
||||
sysbus_add_io(dev, 0xcf8, &s->conf_mem);
|
||||
sysbus_init_ioports(&s->busdev, 0xcf8, 4);
|
||||
|
||||
memory_region_init_io(&s->data_mem, &pci_host_data_le_ops, s,
|
||||
"pci-conf-data", 4);
|
||||
sysbus_add_io(dev, 0xcfc, &s->data_mem);
|
||||
sysbus_init_ioports(&s->busdev, 0xcfc, 4);
|
||||
pci_host_conf_register_ioport(0xcf8, s);
|
||||
|
||||
pci_host_data_register_ioport(0xcfc, s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue