mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
simba: rename PBMPCIBridge and QOM types to reflect simba naming
Here we rename PBMPCIBridge to SimbaPCIBridge and the QOM type from TYPE_PBM_PCI_BRIDGE to TYPE_SIMBA_PCI_BRIDGE in improve the clarity of the device name. Also touch up the relevant spots in apb.c and various other function names as appropriate. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>
This commit is contained in:
parent
ffd9589ee2
commit
90302adaba
3 changed files with 22 additions and 22 deletions
|
@ -28,11 +28,11 @@
|
|||
#include "hw/pci/pci_bridge.h"
|
||||
|
||||
|
||||
typedef struct PBMPCIBridge {
|
||||
typedef struct SimbaPCIBridge {
|
||||
/*< private >*/
|
||||
PCIBridge parent_obj;
|
||||
} PBMPCIBridge;
|
||||
} SimbaPCIBridge;
|
||||
|
||||
#define TYPE_PBM_PCI_BRIDGE "pbm-bridge"
|
||||
#define PBM_PCI_BRIDGE(obj) \
|
||||
OBJECT_CHECK(PBMPCIBridge, (obj), TYPE_PBM_PCI_BRIDGE)
|
||||
#define TYPE_SIMBA_PCI_BRIDGE "pbm-bridge"
|
||||
#define SIMBA_PCI_BRIDGE(obj) \
|
||||
OBJECT_CHECK(SimbaPCIBridge, (obj), TYPE_SIMBA_PCI_BRIDGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue