diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-25 15:20:49 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-02 07:29:25 -0400 |
commit | b116cedd5ffe8721a8de16c5bf5f792866b8eb31 (patch) | |
tree | 7c95e91274daee5bb815053652a7b08aa617a70c /target/rx/cpu-qom.h | |
parent | 38688fdbe9c5db9ca5ed22f9f6881ab444abcb1d (diff) | |
download | qemu-b116cedd5ffe8721a8de16c5bf5f792866b8eb31.zip |
rx: Move typedef RXCPU to cpu-qom.h
Move the typedef closer to the QOM type checking macros.
This will make future conversion to OBJECT_DECLARE* easier.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200825192110.3528606-54-ehabkost@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/rx/cpu-qom.h')
-rw-r--r-- | target/rx/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/rx/cpu-qom.h b/target/rx/cpu-qom.h index af937bc680..9054762326 100644 --- a/target/rx/cpu-qom.h +++ b/target/rx/cpu-qom.h @@ -25,6 +25,7 @@ #define TYPE_RX62N_CPU RX_CPU_TYPE_NAME("rx62n") +typedef struct RXCPU RXCPU; #define RX_CPU_CLASS(klass) \ OBJECT_CLASS_CHECK(RXCPUClass, (klass), TYPE_RX_CPU) #define RX_CPU(obj) \ |