On 3/1/23 19:16, Richard Henderson wrote:
With the movement of the property, we can remove the field
from the cpu entirely, using only the class.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
target/arm/cpu.h | 1 -
hw/arm/xilinx_zynq.c | 9 ++++++---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu.c | 18 ++++++++++++++++--
target/arm/helper.c | 14 ++++++++------
5 files changed, 31 insertions(+), 13 deletions(-)
Lovely.
Perhaps later arm_class_prop_uint64_ofs() can grow into a generic
QOM TYPE macro.
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>