Revision 459ae5ea hw/pc_piix.c
b/hw/pc_piix.c | ||
---|---|---|
147 | 147 |
MemoryRegion *ram_memory; |
148 | 148 |
MemoryRegion *pci_memory; |
149 | 149 |
MemoryRegion *rom_memory; |
150 |
void *fw_cfg = NULL; |
|
150 | 151 |
|
151 | 152 |
pc_cpus_init(cpu_model); |
152 | 153 |
|
... | ... | |
173 | 174 |
|
174 | 175 |
/* allocate ram and load rom/bios */ |
175 | 176 |
if (!xen_enabled()) { |
176 |
pc_memory_init(system_memory, |
|
177 |
fw_cfg = pc_memory_init(system_memory,
|
|
177 | 178 |
kernel_filename, kernel_cmdline, initrd_filename, |
178 | 179 |
below_4g_mem_size, above_4g_mem_size, |
179 | 180 |
pci_enabled ? rom_memory : system_memory, &ram_memory); |
... | ... | |
277 | 278 |
/* TODO: Populate SPD eeprom data. */ |
278 | 279 |
smbus = piix4_pm_init(pci_bus, piix3_devfn + 3, 0xb100, |
279 | 280 |
gsi[9], *smi_irq, |
280 |
kvm_enabled()); |
|
281 |
kvm_enabled(), fw_cfg);
|
|
281 | 282 |
smbus_eeprom_init(smbus, 8, NULL, 0); |
282 | 283 |
} |
283 | 284 |
|
Also available in: Unified diff