On 5/27/2026 1:13 PM, Philippe Mathieu-Daudé wrote: > From: Djordje Todorovic <[email protected]> > > Now that the full big-endian data path is in place (runtime MSTATUS > bits, boot code, and page-table walks), expose the "big-endian" > property to users via DEFINE_PROP_BOOL and document it in > docs/system/target-riscv.rst. > > Document that the property models fixed-endian hardware: it selects > harts whose MBE/SBE/UBE fields are fixed to 1, and it does not model > a mixed-endian implementation where software can toggle those bits at > runtime. > > The property can be enabled from the command line, e.g.: > > -cpu <cpu>,big-endian=on > > Signed-off-by: Djordje Todorovic <[email protected]> > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > docs/system/target-riscv.rst | 29 +++++++++++++++++++++++++++++ > target/riscv/cpu.c | 1 + > 2 files changed, 30 insertions(+) >
Reviewed-by: Pierrick Bouvier <[email protected]>
