Drop redefs of syscalls
This commit is contained in:
parent
6590b285b5
commit
06a9125c21
@ -12,8 +12,6 @@
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
DEFN_SYSCALL1(wait, 17, unsigned int);
|
||||
|
||||
DEFN_SYSCALL2(getcwd, 29, char *, size_t);
|
||||
DEFN_SYSCALL1(chdir, 28, char *);
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "lib/sha2.h"
|
||||
|
||||
DEFN_SYSCALL1(wait, 17, unsigned int);
|
||||
DEFN_SYSCALL1(setuid, 24, unsigned int);
|
||||
DEFN_SYSCALL1(kernel_string_XXX, 25, char *);
|
||||
DEFN_SYSCALL0(gethostname, 32);
|
||||
|
@ -11,8 +11,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
DEFN_SYSCALL1(wait, 17, unsigned int);
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
int nthreads = 2, base_pid = getpid(), npid = -1;
|
||||
|
||||
|
@ -9,9 +9,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
DEFN_SYSCALL1(wait, 17, unsigned int);
|
||||
DEFN_SYSCALL0(mkpipe, 21);
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
int fd = syscall_mkpipe();
|
||||
printf("%d <- pipe\n", fd);
|
||||
|
@ -432,9 +432,6 @@ DEFN_SYSCALL0(getgraphicswidth, 18);
|
||||
DEFN_SYSCALL0(getgraphicsheight, 19);
|
||||
DEFN_SYSCALL0(getgraphicsdepth, 20);
|
||||
|
||||
DEFN_SYSCALL0(mkpipe, 21);
|
||||
DEFN_SYSCALL2(dup2, 22, int, int);
|
||||
|
||||
DEFN_SYSCALL0(mousedevice, 33);
|
||||
|
||||
uint16_t graphics_width = 0;
|
||||
|
@ -5,8 +5,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
DEFN_SYSCALL1(wait, 17, unsigned int);
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
int quiet = 0;
|
||||
if (argc > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user