Visible to Intel only — GUID: mwh1416946903874
Ixiasoft
Visible to Intel only — GUID: mwh1416946903874
Ixiasoft
9.3.1.7.2. Separate Hardware Interrupt Stack
- hal.linker.enable_interrupt_stack enables a separate hardware interrupt stack.
- hal.linker.interrupt_stack_size controls the size of the hardware interrupt stack.
- hal.linker.interrupt_stack_memory_region_name enables you to control where the hardware interrupt stack is positioned in memory.
The HAL funnel code takes care of correctly changing the stack pointer on entry to and exit from an ISR.
Interrupt Controller | BSP Settings | Application Stack | General Exception Stack | Hardware Interrupt Stack | |
---|---|---|---|---|---|
Separate General Exception Stack Enabled |
Separate Hardware Interrupt Stack Enabled |
||||
Internal | No | — |
|
— | — |
Yes | — | Application |
|
— | |
External | No | No |
|
— | — |
Yes |
|
— | Hardware interrupts | ||
Yes | No |
|
Software exceptions | — | |
Yes | Application | Software exceptions | Hardware interrupts |
For more information about implementing a separate hardware interrupt stack, refer to AN595: Vectored Interrupt Controller Applications and Usage.