pintos: Avoid literal control character in Perl variable name.
[pintos-anon] / src / lib / syscall-nr.h
index b0d073fe1d5e94b662e64946220fe5bcd7bba023..21a7af952f8728f93b77d6867ebbf60a7699864c 100644 (file)
@@ -7,6 +7,7 @@ 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_CREATE,                 /* Create a file. */
     SYS_REMOVE,                 /* Delete a file. */
@@ -25,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 */