Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | LENGTH (256UL*1024*1024) |
#define | PROTECTION (PROT_READ | PROT_WRITE) |
#define | MAP_HUGETLB 0x40000 /* arch specific */ |
#define | ADDR (void *)(0x0UL) |
#define | FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB) |
Functions | |
int | main (void) |
#define ADDR (void *)(0x0UL) |
Definition at line 30 of file map_hugetlb.c.
#define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB) |
Definition at line 31 of file map_hugetlb.c.
#define LENGTH (256UL*1024*1024) |
Definition at line 18 of file map_hugetlb.c.
#define MAP_HUGETLB 0x40000 /* arch specific */ |
Definition at line 22 of file map_hugetlb.c.
#define PROTECTION (PROT_READ | PROT_WRITE) |
Definition at line 19 of file map_hugetlb.c.
Definition at line 60 of file map_hugetlb.c.