Skip to content

Commit c815ff2

Browse files
nwfronorton
andcommitted
switcher: rmn's find in stackless handling
Partially addresses CHERIoT-Platform#321 , but is not the end of it. Co-authored-by: Robert Norton <robert.norton@microsoft.com>
1 parent d31c330 commit c815ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/core/switcher/entry.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ exception_entry_asm:
642642
// If this is the top stack frame, then the csp field is the value on
643643
// entry. If it's any other frame then we need to go to the previous one
644644
cincoffset cs1, csp, TrustedStack_offset_frames
645-
beq s1, t1, .Lrecovered_stack
645+
beq s1, tp, .Lrecovered_stack
646646

647647
// The address of the stack pointer will point to the bottom of the
648648
// caller's save area, so we set the bounds to be the base up to the

0 commit comments

Comments
 (0)