mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
apb: rename QOM type from TYPE_APB to TYPE_SABRE
Similarly rename the corresponding APBState typedef to SabreState. 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
8fb28035aa
commit
b14dcaf4a0
3 changed files with 23 additions and 23 deletions
|
@ -22,7 +22,7 @@ typedef struct SabrePCIState {
|
|||
#define SABRE_PCI_DEVICE(obj) \
|
||||
OBJECT_CHECK(SabrePCIState, (obj), TYPE_SABRE_PCI_DEVICE)
|
||||
|
||||
typedef struct APBState {
|
||||
typedef struct SabreState {
|
||||
PCIHostState parent_obj;
|
||||
|
||||
hwaddr special_base;
|
||||
|
@ -43,10 +43,10 @@ typedef struct APBState {
|
|||
unsigned int irq_request;
|
||||
uint32_t reset_control;
|
||||
unsigned int nr_resets;
|
||||
} APBState;
|
||||
} SabreState;
|
||||
|
||||
#define TYPE_APB "apb"
|
||||
#define APB_DEVICE(obj) \
|
||||
OBJECT_CHECK(APBState, (obj), TYPE_APB)
|
||||
#define TYPE_SABRE "sabre"
|
||||
#define SABRE_DEVICE(obj) \
|
||||
OBJECT_CHECK(SabreState, (obj), TYPE_SABRE)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue