aboutsummaryrefslogtreecommitdiff
path: root/pk/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'pk/entry.S')
-rw-r--r--pk/entry.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/pk/entry.S b/pk/entry.S
index d2fb72c..57acc69 100644
--- a/pk/entry.S
+++ b/pk/entry.S
@@ -1,12 +1,12 @@
#include "pcr.h"
#ifdef PK_ENABLE_KERNEL_64BIT
-# define STORE sd
-# define LOAD ld
+# define STORE s.d
+# define LOAD l.d
# define REGBYTES 8
#else
-# define STORE sw
-# define LOAD lw
+# define STORE s.w
+# define LOAD l.w
# define REGBYTES 4
#endif
@@ -62,7 +62,7 @@ save_tf: # write the trap frame onto the stack
# get insn
and $x4,$x4,~3
- lw $x3,0($x4)
+ l.w $x3,0($x4)
STORE $x3, 36*REGBYTES($x2)
ret