mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
hw/misc/pvpanic: split-out generic and bus dependent code
To ease the PCI device addition in next patches, split the code as follows: - generic code (read/write/setup) is being kept in pvpanic.c - ISA dependent code moved to pvpanic-isa.c Also, rename: - ISA_PVPANIC_DEVICE -> PVPANIC_ISA_DEVICE. - TYPE_PVPANIC -> TYPE_PVPANIC_ISA. - MemoryRegion io -> mr. - pvpanic_ioport_* in pvpanic_*. Update the build system with the new files and config structure. Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
8a74ce618b
commit
677726ef1e
7 changed files with 130 additions and 85 deletions
|
@ -121,9 +121,13 @@ config IOTKIT_SYSCTL
|
|||
config IOTKIT_SYSINFO
|
||||
bool
|
||||
|
||||
config PVPANIC
|
||||
config PVPANIC_COMMON
|
||||
bool
|
||||
|
||||
config PVPANIC_ISA
|
||||
bool
|
||||
depends on ISA_BUS
|
||||
select PVPANIC_COMMON
|
||||
|
||||
config AUX
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue