mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
d70e58958d
commit
805659a895
3 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue