pc_sysfw: Pass PCMachineState to pc_system_firmware_init()
commit5e640a9e78ea61c50401a2b11fa144b5f0c217dc
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 8 Mar 2019 13:14:43 +0000 (8 14:14 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 11 Mar 2019 21:53:44 +0000 (11 22:53 +0100)
tree8c496e4604e7d5ae9a2773889f008f467b180b15
parentd6edbe91b98e3e6e0d0185a9c4c3d2e6d6bf0a6b
pc_sysfw: Pass PCMachineState to pc_system_firmware_init()

pc_system_firmware_init() parameter @isapc_ram_fw is PCMachineState
member pci_enabled negated.  The next commit will need more of
PCMachineState.  To prepare for that, pass a PCMachineState *, and
drop the now redundant parameter @isapc_ram_fw.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190308131445.17502-11-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/pc_sysfw.c
include/hw/i386/pc.h