qemu/include/hw/pci-host
Bernhard Beschow 9e57b81861 hw/pci-host/pam: Make init_pam() usage more readable
Unlike pam_update() which takes the subject -- PAMMemoryRegion -- as
first argument, init_pam() takes it as fifth (!) argument. This makes it
quite hard to figure out what an init_pam() invocation actually
initializes. By moving the subject to the front this should become
clearer.

While at it, lower the DeviceState parameter to Object, also
communicating more clearly that this parameter is just the owner rather
than some (heavy?) dependency.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213162004.2797-8-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-05-19 10:30:46 -04:00
..
bonito.h hw/pci-host/bonito: Declare TYPE_BONITO_PCI_HOST_BRIDGE in header 2023-01-13 16:22:57 +01:00
designware.h
dino.h
gpex.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
grackle.h
i440fx.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
ls7a.h hw/loongarch/virt: rename PCH_PIC_IRQ_OFFSET with VIRT_GSI_BASE 2023-03-03 09:37:26 +08:00
mv64361.h
pam.h hw/pci-host/pam: Make init_pam() usage more readable 2023-05-19 10:30:46 -04:00
pnv_phb3_regs.h
pnv_phb3.h include/hw/ppc include/hw/pci-host: Drop extra typedefs 2023-01-20 07:25:22 +01:00
pnv_phb4_regs.h
pnv_phb4.h pnv_phb4_pec: Simplify/align code to parent user-created PHBs 2023-03-03 16:50:17 -03:00
ppce500.h
q35.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
remote.h
sabre.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
spapr.h
uninorth.h
xilinx-pcie.h