mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
sifive: Use DECLARE_*CHECKER* macros
$ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
ac900edeed
commit
e38d3c5ce5
7 changed files with 14 additions and 13 deletions
|
@ -27,8 +27,8 @@
|
|||
#define TYPE_SIFIVE_PLIC "riscv.sifive.plic"
|
||||
|
||||
typedef struct SiFivePLICState SiFivePLICState;
|
||||
#define SIFIVE_PLIC(obj) \
|
||||
OBJECT_CHECK(SiFivePLICState, (obj), TYPE_SIFIVE_PLIC)
|
||||
DECLARE_INSTANCE_CHECKER(SiFivePLICState, SIFIVE_PLIC,
|
||||
TYPE_SIFIVE_PLIC)
|
||||
|
||||
typedef enum PLICMode {
|
||||
PLICMode_U,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue