提交 a8717d28 编写于 作者: V Vineet Gupta

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

Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 9b8c7d1e
......@@ -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 ========
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册