This series makes pam_update() more self-contained by removing some Intel assumptions. As a result, the purpose of PAMMemoryRegion becomes clearer and, as a side effect, makes it reusable for northbridges other than Intel, e.g. VIA.
Testing done: * `make check` * `make check-avocado` * This series is sent from a VM implementing this series. Bernhard Beschow (2): hw/pci-host/pam: Free PAMMemoryRegion from Intel-specific bit handling hw/pci-host/pam: Remove northbridge-specific PAM_REGIONS_COUNT include/hw/pci-host/i440fx.h | 4 +++- include/hw/pci-host/pam.h | 9 +++------ include/hw/pci-host/q35.h | 4 +++- hw/pci-host/i440fx.c | 7 +++++-- hw/pci-host/pam.c | 14 +++++++------- hw/pci-host/q35.c | 7 ++++--- 6 files changed, 25 insertions(+), 20 deletions(-) -- 2.44.0