syscall: add mmap and munmap
This commit is contained in:
parent
7919839bfc
commit
0870bd8737
6 changed files with 41 additions and 4 deletions
|
|
@ -5,11 +5,14 @@
|
|||
#define SYS_READ 0
|
||||
#define SYS_WRITE 1
|
||||
#define SYS_OPEN 2
|
||||
#define SYS_MMAP 9
|
||||
#define SYS_MUNMAP 11
|
||||
#define SYS_FORK 57
|
||||
#define SYS_EXIT 60
|
||||
#define SYS_MKDIR 83
|
||||
#define SYS_MKNOD 133
|
||||
|
||||
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/proc.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue