On 1/9/26 01:34, Alex Bennée wrote:
To transition CPUs to use the multi-phase resettable logic we need to
stash some information for the reset handlers. Arm does this with
arm_boot_info but for m68k all we really need is the PC we should
reset to.

Signed-off-by: Alex Bennée <[email protected]>
---
  target/m68k/cpu.h | 1 +
  1 file changed, 1 insertion(+)

diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index d9db6a486a8..fda015c4b7b 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -155,6 +155,7 @@ typedef struct CPUArchState {
/* Fields from here on are preserved across CPU reset. */
      uint64_t features;
+    uint32_t reset_pc;
  } CPUM68KState;
/*

I think this ought to merge with something else.
Just adding the field is clearly incomplete.

r~

Reply via email to