Skip to content

piix_pci: factor out pam, smram logic

Isaku Yamahata qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pc/piix_pci: factor out smram/pam logicMakefile.target hw/pam.c hw/pam.h +1 more+236 -610 replies
2/2pc, i440fx: simplify i440fx initializationhw/pc.h hw/pc_piix.c hw/piix_pci.c+8 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] piix_pci: factor out pam, smram logic

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