summaryrefslogtreecommitdiff
path: root/src/thread/mips/__unmapself.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/mips/__unmapself.s')
-rw-r--r--src/thread/mips/__unmapself.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/thread/mips/__unmapself.s b/src/thread/mips/__unmapself.s
new file mode 100644
index 0000000..ba139dc
--- /dev/null
+++ b/src/thread/mips/__unmapself.s
@@ -0,0 +1,10 @@
+.set noreorder
+.global __unmapself
+.type __unmapself,@function
+__unmapself:
+ move $sp, $25
+ li $2, 4091
+ syscall
+ li $4, 0
+ li $2, 4001
+ syscall