Skip to content

seabios: pci: pci initialization clean up

Isaku Yamahata qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- renamed files i440fx -> dev->i440fx.
- dropped copyright notice from dev-i440fx.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2seabios: pci: introduce helper function to initialize a given device.src/pci.c src/pci.h+54 -00 replies
2/2seabios: pciinit: use pci device initializer helper function.Makefile src/dev-i440fx.c src/dev-i440fx.h +1 more+134 -882 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] seabios: pci: pci initialization clean up

Changes from v1 -> v2
- renamed files i440fx -> dev->i440fx.
- dropped copyright notice from dev-i440fx.h

This patch series cleans up pci device initialization by introducing a helper function.
This makes it easier to add more device initialization code cleanly as preparation for q35 chipset.

Isaku Yamahata (2):
seabios: pci: introduce helper function to initialize a given device.
seabios: pciinit: use pci device initializer helper function.

 Makefile         |    2 +-
 src/dev-i440fx.c |   52 ++++++++++++++++++
 src/dev-i440fx.h |    8 +++
 src/pci.c        |   20 +++++++
 src/pci.h        |   34 ++++++++++++
 src/pciinit.c    |  160 +++++++++++++++++++++++++-----------------------------
 6 files changed, 188 insertions(+), 88 deletions(-)
 create mode 100644 src/dev-i440fx.c
 create mode 100644 src/dev-i440fx.h