2023-07-07 22:40:34 +02:00
|
|
|
#ifndef XTENSA_TARGET_MMAN_H
|
|
|
|
#define XTENSA_TARGET_MMAN_H
|
|
|
|
|
2023-07-07 22:40:35 +02:00
|
|
|
#define TARGET_PROT_SEM 0x10
|
|
|
|
|
2023-07-07 22:40:34 +02:00
|
|
|
#define TARGET_MAP_NORESERVE 0x0400
|
|
|
|
#define TARGET_MAP_ANONYMOUS 0x0800
|
|
|
|
#define TARGET_MAP_GROWSDOWN 0x1000
|
|
|
|
#define TARGET_MAP_DENYWRITE 0x2000
|
|
|
|
#define TARGET_MAP_EXECUTABLE 0x4000
|
|
|
|
#define TARGET_MAP_LOCKED 0x8000
|
|
|
|
#define TARGET_MAP_POPULATE 0x10000
|
|
|
|
#define TARGET_MAP_NONBLOCK 0x20000
|
|
|
|
#define TARGET_MAP_STACK 0x40000
|
|
|
|
#define TARGET_MAP_HUGETLB 0x80000
|
|
|
|
|
2023-08-02 23:29:40 +02:00
|
|
|
/*
|
|
|
|
* arch/xtensa/include/asm/processor.h:
|
|
|
|
* TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
|
|
|
*/
|
|
|
|
#define TASK_UNMAPPED_BASE (1u << (TARGET_VIRT_ADDR_SPACE_BITS - 1))
|
|
|
|
|
2023-08-03 00:17:33 +02:00
|
|
|
/* arch/xtensa/include/asm/elf.h */
|
|
|
|
#define ELF_ET_DYN_BASE \
|
|
|
|
TARGET_PAGE_ALIGN((1u << TARGET_VIRT_ADDR_SPACE_BITS) / 3)
|
|
|
|
|
2022-09-06 02:08:35 +02:00
|
|
|
#include "../generic/target_mman.h"
|
2023-07-07 22:40:34 +02:00
|
|
|
|
|
|
|
#endif
|