From 3aab532d79aae3a9adf2df8cac8bf87aab5ab6a4 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Fri, 6 Nov 2020 21:24:21 +0800 Subject: [PATCH] Remove unwanted mv ra,sp line in trap.S --- kernel/kern/trap.S | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/kern/trap.S b/kernel/kern/trap.S index 26b0929..e9fad92 100644 --- a/kernel/kern/trap.S +++ b/kernel/kern/trap.S @@ -10,7 +10,6 @@ EXCEPTION_HANDLER: STORE ra, TF_ra(sp) csrrw ra, mscratch, sp // 读出原来的 sp - mv ra, sp STORE ra, TF_sp(sp) STORE gp, TF_gp(sp) STORE tp, TF_tp(sp)