summaryrefslogtreecommitdiff
path: root/libcpu/mips/common/stackframe.h
diff options
context:
space:
mode:
authorchenyingchun0312 <[email protected]>2020-09-22 17:10:48 +0800
committerchenyingchun0312 <[email protected]>2020-09-22 17:10:48 +0800
commit797ce29ae0ed103d9684360dd931e58820ad7511 (patch)
tree619159c581c6cec8afdda8088bc987078dcca22f /libcpu/mips/common/stackframe.h
parent02a609e33fbf811f043cd0c628b7d1266a4d41c2 (diff)
parent8302a7224302c0624b9918855a25e12f3a3ede59 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'libcpu/mips/common/stackframe.h')
-rw-r--r--libcpu/mips/common/stackframe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcpu/mips/common/stackframe.h b/libcpu/mips/common/stackframe.h
index 4f1157aebf..bb92a18c9c 100644
--- a/libcpu/mips/common/stackframe.h
+++ b/libcpu/mips/common/stackframe.h
@@ -206,6 +206,8 @@
li v1, ~(ST0_CU1 | ST0_FR | ST0_IM)
and v0, v1
or v0, a0
+ li v1, (ST0_KX | ST0_SX | ST0_UX)
+ or v0, v1
mtc0 v0, CP0_STATUS
LONG_L v1, PT_EPC(sp)
MTC0 v1, CP0_EPC