Factor out PC pam, smram logic. which will also be used for q35 later. All the magic numbers are replaced with symbolic constants at the same. As by product, pc_piix initalization is simplified a bit.
Isaku Yamahata (2): pc/piix_pci: factor out smram/pam logic pc, i440fx: simplify i440fx initialization Makefile.target | 2 +- hw/pam.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/pam.h | 96 +++++++++++++++++++++++++++++++++++++++++ hw/pc.h | 2 +- hw/pc_piix.c | 8 +--- hw/piix_pci.c | 84 +++++++----------------------------- 6 files changed, 243 insertions(+), 77 deletions(-) create mode 100644 hw/pam.c create mode 100644 hw/pam.h