On 2/19/26 9:17 AM, Alex Bennée wrote:
All 68k chips should be able to follow the architectural behaviour on
reset which is to load the initial sp/pc from the first 8 bytes of the
address space.

To avoid any potential issues with un-reset memory controllers we
punt the final setting of the register to the exit phase when
everything else is guaranteed to have been through the hold phase.

Signed-off-by: Alex Bennée <[email protected]>
---
  target/m68k/cpu.c | 25 +++++++++++++++++++++----
  1 file changed, 21 insertions(+), 4 deletions(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to