Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_POWERPC_TASK_SIZE_32_H
0003 #define _ASM_POWERPC_TASK_SIZE_32_H
0004 
0005 #if CONFIG_TASK_SIZE > CONFIG_KERNEL_START
0006 #error User TASK_SIZE overlaps with KERNEL_START address
0007 #endif
0008 
0009 #define TASK_SIZE (CONFIG_TASK_SIZE)
0010 
0011 /*
0012  * This decides where the kernel will search for a free chunk of vm space during
0013  * mmap's.
0014  */
0015 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
0016 
0017 #define DEFAULT_MAP_WINDOW TASK_SIZE
0018 #define STACK_TOP TASK_SIZE
0019 #define STACK_TOP_MAX STACK_TOP
0020 
0021 #endif /* _ASM_POWERPC_TASK_SIZE_32_H */