|
@@ -574,8 +574,7 @@ static void mch_realize(PCIDevice *d, Error **errp)
|
|
|
}
|
|
|
|
|
|
/* setup pci memory mapping */
|
|
|
- pc_pci_as_mapping_init(OBJECT(mch), mch->system_memory,
|
|
|
- mch->pci_address_space);
|
|
|
+ pc_pci_as_mapping_init(mch->system_memory, mch->pci_address_space);
|
|
|
|
|
|
/* if *disabled* show SMRAM to all CPUs */
|
|
|
memory_region_init_alias(&mch->smram_region, OBJECT(mch), "smram-region",
|