summaryrefslogtreecommitdiff
path: root/emu/Linux/asm-mips.S
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2017-04-20 23:47:36 +0100
committerCharles Forsyth <charles.forsyth@gmail.com>2017-04-20 23:47:36 +0100
commit8823998c509302a526d8711095f664dd06997234 (patch)
tree5aa606457cd46b0f6e91ad02539015b994fafb76 /emu/Linux/asm-mips.S
parent89e2246299bf211388a099e02b0df768f630e197 (diff)
remove assembly-language functions no longer needed because os-clone.c has gone
Diffstat (limited to 'emu/Linux/asm-mips.S')
-rw-r--r--emu/Linux/asm-mips.S30
1 files changed, 0 insertions, 30 deletions
diff --git a/emu/Linux/asm-mips.S b/emu/Linux/asm-mips.S
index 087b8550..d2780f6a 100644
--- a/emu/Linux/asm-mips.S
+++ b/emu/Linux/asm-mips.S
@@ -1,37 +1,7 @@
-#include "syscall.h"
#include <sys/asm.h>
#include <sys/regdef.h>
#include <asm/cachectl.h>
-/*
- * executeonnewstack(void *tos, void (*tramp)(void *arg), void *arg)
- */
-
-LEAF(executeonnewstack)
- and a0,a0,~7
- addu sp,a0,-16
- move a0,a2
- move t9,a1
- jalr t9
-
- li v0,SYS_exit
- li a0,0
- syscall
-
- END(executeonnewstack)
-
-/*
- * unlockandexit(int *key)
- */
-
-LEAF(unlockandexit)
- lw a1,0(a0)
- li v0,SYS_exit
- li a0,0
- sw a0,0(a1)
- syscall
- END(unlockandexit)
-
LEAF(FPsave)
cfc1 t0, $31
sw t0, 0(a0) /* a0 is argument */