Store the PC while context switching, for the benefits of DDB.
This commit is contained in:
parent
28e29fd053
commit
54da1b8fb2
@ -257,6 +257,7 @@ ENTRY(cpu_switch)
|
||||
strd r10, [r2, #(PCB_R10)]
|
||||
strd r12, [r2, #(PCB_R12)]
|
||||
#endif
|
||||
str pc, [r2, #(PCB_PC)]
|
||||
|
||||
/*
|
||||
* NOTE: We can now use r8-r13 until it is time to restore
|
||||
|
Loading…
x
Reference in New Issue
Block a user