Skip to content

Commit

Permalink
Remove unwanted mv ra,sp line in trap.S
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Nov 6, 2020
1 parent 7962e2a commit 3aab532
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/kern/trap.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3aab532

Please sign in to comment.