rx: Rename QOM type check macros
commit38688fdbe9c5db9ca5ed22f9f6881ab444abcb1d
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:48 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 2 Sep 2020 11:29:25 +0000 (2 07:29 -0400)
tree213113dc2a7e0420cdcb49f4e3e5b828a8bb330e
parent37e3d65043229bb20bd07af74dc0866e12071415
rx: Rename QOM type check macros

Currently we have a RXCPU typedef and a RXCPU type checking
macro, but OBJECT_DECLARE* would transform the RXCPU macro into a
function, and the function name would conflict with the typedef
name.

Rename the RXCPU* QOM type check macros to RX_CPU*, so we will
avoid the conflict and make the macro names consistent with the
TYPE_RX_CPU constant name.

This will make future conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200825192110.3528606-53-ehabkost@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/rx/rx-gdbsim.c
target/rx/cpu-qom.h
target/rx/cpu.c
target/rx/gdbstub.c
target/rx/helper.c
target/rx/translate.c