[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
syscall-nr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  {
  SYS_HALT , SYS_EXIT , SYS_FORK , SYS_EXEC ,
  SYS_WAIT , SYS_CREATE , SYS_REMOVE , SYS_OPEN ,
  SYS_FILESIZE , SYS_READ , SYS_WRITE , SYS_SEEK ,
  SYS_TELL , SYS_CLOSE , SYS_MMAP , SYS_MUNMAP ,
  SYS_CHDIR , SYS_MKDIR , SYS_READDIR , SYS_ISDIR ,
  SYS_INUMBER , SYS_SYMLINK , SYS_DUP2 , SYS_MOUNT ,
  SYS_UMOUNT
}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SYS_HALT 
SYS_EXIT 
SYS_FORK 
SYS_EXEC 
SYS_WAIT 
SYS_CREATE 
SYS_REMOVE 
SYS_OPEN 
SYS_FILESIZE 
SYS_READ 
SYS_WRITE 
SYS_SEEK 
SYS_TELL 
SYS_CLOSE 
SYS_MMAP 
SYS_MUNMAP 
SYS_CHDIR 
SYS_MKDIR 
SYS_READDIR 
SYS_ISDIR 
SYS_INUMBER 
SYS_SYMLINK 
SYS_DUP2 
SYS_MOUNT 
SYS_UMOUNT 
5 {
6 /* Projects 2 and later. */
7 SYS_HALT, /* Halt the operating system. */
8 SYS_EXIT, /* Terminate this process. */
9 SYS_FORK, /* Clone current process. */
10 SYS_EXEC, /* Switch current process. */
11 SYS_WAIT, /* Wait for a child process to die. */
12 SYS_CREATE, /* Create a file. */
13 SYS_REMOVE, /* Delete a file. */
14 SYS_OPEN, /* Open a file. */
15 SYS_FILESIZE, /* Obtain a file's size. */
16 SYS_READ, /* Read from a file. */
17 SYS_WRITE, /* Write to a file. */
18 SYS_SEEK, /* Change position in a file. */
19 SYS_TELL, /* Report current position in a file. */
20 SYS_CLOSE, /* Close a file. */
21
22 /* Project 3 and optionally project 4. */
23 SYS_MMAP, /* Map a file into memory. */
24 SYS_MUNMAP, /* Remove a memory mapping. */
25
26 /* Project 4 only. */
27 SYS_CHDIR, /* Change the current directory. */
28 SYS_MKDIR, /* Create a directory. */
29 SYS_READDIR, /* Reads a directory entry. */
30 SYS_ISDIR, /* Tests if a fd represents a directory. */
31 SYS_INUMBER, /* Returns the inode number for a fd. */
32 SYS_SYMLINK, /* Returns the inode number for a fd. */
33
34 /* Extra for Project 2 */
35 SYS_DUP2, /* Duplicate the file descriptor */
36
39};
@ SYS_MMAP
Definition: syscall-nr.h:23
@ SYS_MOUNT
Definition: syscall-nr.h:37
@ SYS_WRITE
Definition: syscall-nr.h:17
@ SYS_SYMLINK
Definition: syscall-nr.h:32
@ SYS_TELL
Definition: syscall-nr.h:19
@ SYS_HALT
Definition: syscall-nr.h:7
@ SYS_READ
Definition: syscall-nr.h:16
@ SYS_CREATE
Definition: syscall-nr.h:12
@ SYS_CLOSE
Definition: syscall-nr.h:20
@ SYS_INUMBER
Definition: syscall-nr.h:31
@ SYS_EXEC
Definition: syscall-nr.h:10
@ SYS_MUNMAP
Definition: syscall-nr.h:24
@ SYS_EXIT
Definition: syscall-nr.h:8
@ SYS_OPEN
Definition: syscall-nr.h:14
@ SYS_ISDIR
Definition: syscall-nr.h:30
@ SYS_FILESIZE
Definition: syscall-nr.h:15
@ SYS_FORK
Definition: syscall-nr.h:9
@ SYS_WAIT
Definition: syscall-nr.h:11
@ SYS_DUP2
Definition: syscall-nr.h:35
@ SYS_MKDIR
Definition: syscall-nr.h:28
@ SYS_CHDIR
Definition: syscall-nr.h:27
@ SYS_READDIR
Definition: syscall-nr.h:29
@ SYS_REMOVE
Definition: syscall-nr.h:13
@ SYS_UMOUNT
Definition: syscall-nr.h:38
@ SYS_SEEK
Definition: syscall-nr.h:18