Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8717d28 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision

parent 9b8c7d1e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -505,8 +505,8 @@ ENTRY(EV_Trap)
	EXCEPTION_PROLOGUE

	;------- (4) What caused the Trap --------------
	lr     r12, [ecr]
	bmsk.f 0, r12, 7
	lr     r10, [ecr]
	bmsk.f 0, r10, 7
	bnz    trap_with_param

	; ======= (5a) Trap is due to System Call ========