summaryrefslogtreecommitdiff
path: root/usys.pl
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-06-11 09:57:14 -0400
committerRobert Morris <[email protected]>2019-06-11 09:57:14 -0400
commit5753553213df8f9de851adb68377db43faecb91f (patch)
tree3b629ff54897fca414146677532cb459a2ed11ba /usys.pl
parent91ba81110acd3163f7de3580b677eece0c57f5e7 (diff)
downloadxv6-labs-5753553213df8f9de851adb68377db43faecb91f.tar.gz
xv6-labs-5753553213df8f9de851adb68377db43faecb91f.tar.bz2
xv6-labs-5753553213df8f9de851adb68377db43faecb91f.zip
separate source into kernel/ user/ mkfs/
Diffstat (limited to 'usys.pl')
-rwxr-xr-xusys.pl38
1 files changed, 0 insertions, 38 deletions
diff --git a/usys.pl b/usys.pl
deleted file mode 100755
index f8d47d5..0000000
--- a/usys.pl
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/perl -w
-
-# Generate usys.S, the stubs for syscalls.
-
-print "# generated by usys.pl - do not edit\n";
-
-print "#include \"syscall.h\"\n";
-
-sub entry {
- my $name = shift;
- print ".global $name\n";
- print "${name}:\n";
- print " li a7, SYS_${name}\n";
- print " ecall\n";
- print " ret\n";
-}
-
-entry("fork");
-entry("exit");
-entry("wait");
-entry("pipe");
-entry("read");
-entry("write");
-entry("close");
-entry("kill");
-entry("exec");
-entry("open");
-entry("mknod");
-entry("unlink");
-entry("fstat");
-entry("link");
-entry("mkdir");
-entry("chdir");
-entry("dup");
-entry("getpid");
-entry("sbrk");
-entry("sleep");
-entry("uptime");