x86: pin z_x86_set_stack_guard()
This function should be pinned in memory instead of simply putting it in the boot section, as this function will be used when new threads are created at runtime. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
7605619c1e
commit
c2a01af003
1 changed files with 1 additions and 1 deletions
|
@ -1238,7 +1238,7 @@ void z_x86_mmu_init(void)
|
|||
}
|
||||
|
||||
#if CONFIG_X86_STACK_PROTECTION
|
||||
__boot_func
|
||||
__pinned_func
|
||||
void z_x86_set_stack_guard(k_thread_stack_t *stack)
|
||||
{
|
||||
/* Applied to all page tables as this affects supervisor mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue