On 12/2/25 23:01, Richard Henderson wrote:
Use an explicit 64-bit type for EAR.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
target/microblaze/cpu.h | 2 +-
target/microblaze/translate.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index 45f7f49809..01571d4f86 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -248,7 +248,7 @@ struct CPUArchState {
uint32_t pc;
uint32_t msr; /* All bits of MSR except MSR[C] and MSR[CC] */
uint32_t msr_c; /* MSR[C], in low bit; other bits must be 0 */
- target_ulong ear;
+ uint64_t ear;
Interestingly you already migrate it as 64-bit, see commit 77f63e1dadb
("target/microblaze: Fill in VMStateDescription for cpu").
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>