Apply __stack tag to align kernel defined task/fiber stacks
Updates the kernel defined stacks to ensure that they are properly aligned by using the __stack tag. Change-Id: I8514d38ee2e5bb2b2d87b17021db3c7f9c36a772 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
ad74658009
commit
b4e7a4fdbe
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@
|
|||
extern void init_node(void); /* defined by sysgen */
|
||||
extern void init_drivers(void); /* defined by sysgen */
|
||||
|
||||
char __noinit _k_server_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];
|
||||
char __noinit __stack _k_server_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];
|
||||
|
||||
struct nano_stack __noinit _k_command_stack;
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ const char * const build_timestamp = BUILD_TIMESTAMP;
|
|||
|
||||
/* stack space for the background (or idle) task context */
|
||||
|
||||
static char __noinit main_task_stack[CONFIG_MAIN_STACK_SIZE];
|
||||
static char __noinit __stack main_task_stack[CONFIG_MAIN_STACK_SIZE];
|
||||
|
||||
/*
|
||||
* storage space for the interrupt stack
|
||||
|
|
|
@ -382,7 +382,7 @@ def kernel_main_c_tasks():
|
|||
|
||||
kernel_main_c_out("\n")
|
||||
for task in task_list:
|
||||
kernel_main_c_out("char __noinit __%s_stack[%d];\n" %
|
||||
kernel_main_c_out("char __noinit __stack __%s_stack[%d];\n" %
|
||||
(task[0], task[3]))
|
||||
|
||||
# declare task entry points
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue