On 02/10/25, Pierrick Bouvier wrote: > On 10/1/25 12:32 AM, Anton Johansson wrote: > > Fix to 64 bits in size and as these are mapped to TCG globals, be > > careful with host endianness when allocating globals. Casts are > > added to logging expressions to retain the correct size for > > TARGET_RISCV32. > > > > Signed-off-by: Anton Johansson <[email protected]> > > --- > > target/riscv/cpu.h | 6 +++--- > > target/riscv/cpu.c | 3 ++- > > target/riscv/cpu_helper.c | 4 ++-- > > target/riscv/machine.c | 6 +++--- > > target/riscv/translate.c | 12 +++++++----- > > 5 files changed, 17 insertions(+), 14 deletions(-) > I guess you'll update string formats later when really getting rid of > target_ulong. For now it's good. > > Reviewed-by: Pierrick Bouvier <[email protected]>
Thanks!:) Yes exactly follow up patchsets will get rid of target_ulong, the goal of this one is to simply fix the size of CPUArchState and retain all behaviour.
