sbl b13: NOP null-struct strb; vec trap banked regs+BKPT

This commit is contained in:
SashegDev
2026-09-11 06:24:09 +00:00
parent 8ae06cf1c8
commit 61a0b724ff
2 changed files with 24 additions and 0 deletions
+2
View File
@@ -442,6 +442,8 @@ static void saimaa_machine_init(MachineState *machine)
cpu_physical_memory_write(0x085FFF5C, &v, 4);
v = 0x8016183; /* S5 pop10 @ff50: 0x8013ae4 caller */
cpu_physical_memory_write(0x085FFF74, &v, 4);
v = 0x8013ba5; /* S6 ldmia.w @7afc: sp=0x85fff20, pc=[+36] */
cpu_physical_memory_write(0x085FFF44, &v, 4);
{ /* words that popped regs must read as 0 (not stub-fill) */
uint32_t z = 0;
cpu_physical_memory_write(0x085FFF58, &z, 4); /* r7 src */