arch/x86: add support for CONFIG_STACK_SENTINEL
Apparently I missed the arch-dependent bit of this. Fixed. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
a5eea17dda
commit
468cd4d98f
1 changed files with 5 additions and 1 deletions
|
@ -509,7 +509,11 @@ irq_dispatch:
|
|||
cli
|
||||
subq $CONFIG_ISR_STACK_SIZE, ist1
|
||||
decl _kernel_offset_to_nested(%rsi)
|
||||
jz __resume /* not nested, just __resume (might change threads) */
|
||||
/* not nested, exit via __resume (might change threads) */
|
||||
#ifdef CONFIG_STACK_SENTINEL
|
||||
call z_check_stack_sentinel
|
||||
#endif
|
||||
jz __resume
|
||||
|
||||
irq_exit_nested:
|
||||
fxrstor (%rsp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue