diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2023-07-06 13:16:44 +0200 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2023-07-07 04:47:49 -0300 |
commit | 2460bdff8ed704e1e922d327d15b535594893144 (patch) | |
tree | 49923b3db3a2bbc7acfb23f76ad4eabe1f480fa5 /include/hw/ppc | |
parent | e75a951b89382c77cc2bf63db5996cafa54adc3d (diff) | |
download | qemu-2460bdff8ed704e1e922d327d15b535594893144.zip qemu-2460bdff8ed704e1e922d327d15b535594893144.tar.gz qemu-2460bdff8ed704e1e922d327d15b535594893144.tar.bz2 |
ppc4xx_pci: Add define for ppc4xx-host-bridge type name
Add a QOM type name define for ppc4xx-host-bridge in the common header
and replace direct use of the string name with the constant.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-ID: <f6e2956b3a09ee481b970ef7873b374c846ba0a8.1688641673.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/ppc4xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/ppc4xx.h b/include/hw/ppc/ppc4xx.h index e053b97..766d575 100644 --- a/include/hw/ppc/ppc4xx.h +++ b/include/hw/ppc/ppc4xx.h @@ -29,6 +29,7 @@ #include "exec/memory.h" #include "hw/sysbus.h" +#define TYPE_PPC4xx_HOST_BRIDGE "ppc4xx-host-bridge" #define TYPE_PPC4xx_PCI_HOST "ppc4xx-pci-host" #define TYPE_PPC460EX_PCIE_HOST "ppc460ex-pcie-host" |