Nios® V Processor Software Developer Handbook

ID 743810
Date 4/07/2025
Public
Document Table of Contents

9.5.1.7.1. Separate General Exception Stack

Use the hal.linker.enable_interrupt_stack BSP setting to enable a separate general exception stack.

The HAL general exception funnel code takes care of correctly changing the stack pointer on entry to and exit from an exception handler.

Table 46.  Separate Exception Stack Usage
Interrupt Controller Separate General

Exception Stack

Application Stack General Exception Stack
Internal Interrupt Controller (IIC) Not enabled
  • Application
  • Exceptions
  • Platform interrupts
  • Timer interrupts
  • Software interrupt
Enabled
  • Application
  • Exceptions
  • Platform interrupts
  • Timer interrupts
  • Software interrupt