syscall: add mmap and munmap
This commit is contained in:
parent
7919839bfc
commit
0870bd8737
6 changed files with 41 additions and 4 deletions
|
|
@ -17,6 +17,8 @@
|
|||
#define PAGE_PWT 0x8
|
||||
#define PAGE_PCD 0x10
|
||||
|
||||
#define MAP_ANONYMOUS 0x20
|
||||
|
||||
#ifndef __ASM__
|
||||
|
||||
#define ALIGN(_a) __attribute__((aligned(_a)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue