This patch adds the generation and incorporation of privileged stack regions that are used by ARM user mode threads. This patch adds the infrastructure for privileged stacks. Later patches will utilize the generated stacks and helper functions. Signed-off-by: Chunlin Han <chunlin.han@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
13 lines
232 B
Text
13 lines
232 B
Text
/*
|
|
* Copyright (c) 2017 Linaro Limited.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifdef CONFIG_USERSPACE
|
|
/* Kept in RAM on non-XIP */
|
|
#ifdef CONFIG_XIP
|
|
*(".priv_stacks.rodata*")
|
|
#endif
|
|
#endif /* CONFIG_USERSPACE */
|
|
|