summaryrefslogtreecommitdiff
path: root/usys.S
diff options
context:
space:
mode:
Diffstat (limited to 'usys.S')
-rw-r--r--usys.S31
1 files changed, 0 insertions, 31 deletions
diff --git a/usys.S b/usys.S
deleted file mode 100644
index 69935e7..0000000
--- a/usys.S
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "syscall.h"
-#include "traps.h"
-
-#define SYSCALL(name) \
- .globl name; \
- name: \
- mov $SYS_ ## name, %rax; \
- syscall; \
- ret
-
-SYSCALL(fork)
-SYSCALL(exit)
-SYSCALL(wait)
-SYSCALL(pipe)
-SYSCALL(read)
-SYSCALL(write)
-SYSCALL(close)
-SYSCALL(kill)
-SYSCALL(exec)
-SYSCALL(open)
-SYSCALL(mknod)
-SYSCALL(unlink)
-SYSCALL(fstat)
-SYSCALL(link)
-SYSCALL(mkdir)
-SYSCALL(chdir)
-SYSCALL(dup)
-SYSCALL(getpid)
-SYSCALL(sbrk)
-SYSCALL(sleep)
-SYSCALL(uptime)