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

2021-01-19 Thread Peter Maydell
On Fri, 15 Jan 2021 at 19:21, 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/4] hw/misc/pvpanic: split-out generic and bus dependent code

2021-01-15 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