Christophe Leroy | 92ab45c | 2019-01-31 10:08:48 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_POWERPC_TASK_SIZE_32_H |
| 3 | #define _ASM_POWERPC_TASK_SIZE_32_H |
| 4 | |
| 5 | #if CONFIG_TASK_SIZE > CONFIG_KERNEL_START |
| 6 | #error User TASK_SIZE overlaps with KERNEL_START address |
| 7 | #endif |
| 8 | |
| 9 | #define TASK_SIZE (CONFIG_TASK_SIZE) |
| 10 | |
| 11 | /* |
| 12 | * This decides where the kernel will search for a free chunk of vm space during |
| 13 | * mmap's. |
| 14 | */ |
| 15 | #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) |
| 16 | |
| 17 | #define DEFAULT_MAP_WINDOW TASK_SIZE |
| 18 | #define STACK_TOP TASK_SIZE |
| 19 | #define STACK_TOP_MAX STACK_TOP |
| 20 | |
| 21 | #endif /* _ASM_POWERPC_TASK_SIZE_32_H */ |