X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flib%2Fsyscall-nr.h;h=21a7af952f8728f93b77d6867ebbf60a7699864c;hb=922af9ed1bd72fbf4a4c77ab6ddde78a7b6c3e97;hp=44ad043d43b0d5fa8c3dc61c8400aea70053db2c;hpb=8386224782227b5f1d079980a26eda8d2929e631;p=pintos-anon diff --git a/src/lib/syscall-nr.h b/src/lib/syscall-nr.h index 44ad043..21a7af9 100644 --- a/src/lib/syscall-nr.h +++ b/src/lib/syscall-nr.h @@ -7,8 +7,8 @@ enum /* Projects 2 and later. */ SYS_HALT, /* Halt the operating system. */ SYS_EXIT, /* Terminate this process. */ + SYS_EXEC, /* Start another process. */ SYS_WAIT, /* Wait for a child process to die. */ - SYS_YIELD, /* Yield to another process. */ SYS_CREATE, /* Create a file. */ SYS_REMOVE, /* Delete a file. */ SYS_OPEN, /* Open a file. */ @@ -26,7 +26,9 @@ enum /* Project 4 only. */ SYS_CHDIR, /* Change the current directory. */ SYS_MKDIR, /* Create a directory. */ - SYS_LSDIR /* List the current directory to stdout. */ + SYS_READDIR, /* Reads a directory entry. */ + SYS_ISDIR, /* Tests if a fd represents a directory. */ + SYS_INUMBER /* Returns the inode number for a fd. */ }; #endif /* lib/syscall-nr.h */