diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-27 09:24:06 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-10-15 12:21:06 -0300 |
| commit | 805659a895b8afeeb50088c44bd60641d60963ff (patch) | |
| tree | 6f6965e61da2fe8bd1b363f536a3cdc1825ab330 /include | |
| parent | d70e58958da3165bb35d33a69c9d1937674dd6ce (diff) | |
| download | focaccia-qemu-805659a895b8afeeb50088c44bd60641d60963ff.tar.gz focaccia-qemu-805659a895b8afeeb50088c44bd60641d60963ff.zip | |
hw/mips/cps: Set the vCPU 'cpu-big-endian' property
Have the CPS expose a 'cpu-big-endian' property so it can set it to the vCPUs it creates. Note, since the number of vCPUs created is dynamic, we can not use QOM aliases. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241010215015.44326-16-philmd@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/mips/cps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/mips/cps.h b/include/hw/mips/cps.h index 04d636246a..05ef9f76b7 100644 --- a/include/hw/mips/cps.h +++ b/include/hw/mips/cps.h @@ -38,6 +38,7 @@ struct MIPSCPSState { uint32_t num_vp; uint32_t num_irq; char *cpu_type; + bool cpu_is_bigendian; MemoryRegion container; MIPSGCRState gcr; |