mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
pc_basic_device_init: pass PCMachineState
Need access to pcms for pcspk initialization. Just preparation, no functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200702132525.6849-12-kraxel@redhat.com
This commit is contained in:
parent
fcb541c14e
commit
10e2483b5f
4 changed files with 6 additions and 4 deletions
|
@ -235,7 +235,7 @@ static void pc_init1(MachineState *machine,
|
|||
}
|
||||
|
||||
/* init basic PC hardware */
|
||||
pc_basic_device_init(isa_bus, x86ms->gsi, &rtc_state, true,
|
||||
pc_basic_device_init(pcms, isa_bus, x86ms->gsi, &rtc_state, true,
|
||||
(pcms->vmport != ON_OFF_AUTO_ON), pcms->pit_enabled,
|
||||
0x4);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue