aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-07-29 18:29:44 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-07-29 18:29:44 -0700
commit55982bd0192a41d76b13ba92b3c1f3ef80f7e029 (patch)
tree9dc5dde4a9e990e431a8b560ae7107334e6353ba
parentd42f458b6a7145533912cca3e268e2f6951e3992 (diff)
downloadriscv-pk-55982bd0192a41d76b13ba92b3c1f3ef80f7e029.zip
riscv-pk-55982bd0192a41d76b13ba92b3c1f3ef80f7e029.tar.gz
riscv-pk-55982bd0192a41d76b13ba92b3c1f3ef80f7e029.tar.bz2
Align pk trap_entry for RVC
-rw-r--r--pk/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/entry.S b/pk/entry.S
index d5fe55f..39be286 100644
--- a/pk/entry.S
+++ b/pk/entry.S
@@ -55,6 +55,7 @@
.endm
.text
+ .align 2
.global trap_entry
trap_entry:
csrrw sp, sscratch, sp