mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-31 06:50:31 +00:00
Introduce MAP_HUGETLB
This commit is contained in:
parent
9b87dd2b87
commit
f029375d39
6 changed files with 7 additions and 3 deletions
2
libc/sysv/consts/MAP_HUGETLB.S
Normal file
2
libc/sysv/consts/MAP_HUGETLB.S
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon mmap,MAP_HUGETLB,0x00040000,-1,-1,-1,-1,-1,-1,-1
|
|
@ -13,6 +13,7 @@ extern const int MAP_FILE;
|
|||
extern const int MAP_FIXED;
|
||||
extern const int MAP_FIXED_NOREPLACE;
|
||||
extern const int MAP_HASSEMAPHORE;
|
||||
extern const int MAP_HUGETLB;
|
||||
extern const int MAP_INHERIT;
|
||||
extern const int MAP_JIT;
|
||||
extern const int MAP_LOCKED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue