This is continuing cleaning up the vt82c686b model with the aim to add vt8231 emulation without too much duplication, reusing or fixing the existing model where possible. (DISCALIMER: It does not aim to fix all existing bugs or make the model perfectly emulate the real chip.) This series continues general clean up and finishes the power management part. It is based on previous series and also needs Bonito fix (currently tested with Jiaxun's proposal).
Still to go are superio and isa bridge parts that will be addressed in some later series but this and previous series could be merged so far independently of those future series so I'd appreciate if this could be reviewed and merged to keep outstanding patches managable. I can submit this and previous series together as one series if that helps. Regards, BALATON Zoltan BALATON Zoltan (7): vt82c686: Use shorter name for local variable holding object state vt82c686: Rename superio config related parts vt82c686: Move superio memory region to SuperIOConfig struct vt82c686: Reorganise code vt82c686: Fix SMBus IO base and configuration registers vt82c686: Fix up power management io base and config vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it hw/isa/trace-events | 2 + hw/isa/vt82c686.c | 417 ++++++++++++++++++++++---------------- hw/mips/fuloong2e.c | 4 +- include/hw/isa/vt82c686.h | 1 + 4 files changed, 251 insertions(+), 173 deletions(-) -- 2.21.3