Re: [PATCH 1/3] hw/misc/pvpanic: split-out generic and bus dependent code

2021-01-08 Thread Peter Maydell
On Fri, 18 Dec 2020 at 13:36, Mihai Carabas wrote: > > 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_DE

[PATCH 1/3] hw/misc/pvpanic: split-out generic and bus dependent code

2020-12-18 Thread Mihai Carabas
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