From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- pintos-progos/lib/syscall-nr.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 pintos-progos/lib/syscall-nr.h (limited to 'pintos-progos/lib/syscall-nr.h') diff --git a/pintos-progos/lib/syscall-nr.h b/pintos-progos/lib/syscall-nr.h deleted file mode 100644 index 21a7af9..0000000 --- a/pintos-progos/lib/syscall-nr.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef __LIB_SYSCALL_NR_H -#define __LIB_SYSCALL_NR_H - -/* System call numbers. */ -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. */ - SYS_OPEN, /* Open a file. */ - SYS_FILESIZE, /* Obtain a file's size. */ - SYS_READ, /* Read from a file. */ - SYS_WRITE, /* Write to a file. */ - SYS_SEEK, /* Change position in a file. */ - SYS_TELL, /* Report current position in a file. */ - SYS_CLOSE, /* Close a file. */ - - /* Project 3 and optionally project 4. */ - SYS_MMAP, /* Map a file into memory. */ - SYS_MUNMAP, /* Remove a memory mapping. */ - - /* Project 4 only. */ - SYS_CHDIR, /* Change the current directory. */ - SYS_MKDIR, /* Create a directory. */ - 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 */ -- cgit v1.2.3