Visible to Intel only — GUID: mwh1416946926510
Ixiasoft
Visible to Intel only — GUID: mwh1416946926510
Ixiasoft
9.6.2. Registering an Instruction-Related Exception Handler
The function prototype is as follows:
alt_instruction_exception_register ( alt_exception_result (*handler) ( alt_exception_cause, alt_u32, alt_u32 ));
The handler argument is a pointer to the instruction-related exception handler.
To use alt_instruction_exception_register(), include the following header file:
#include "sys/alt_exceptions.h"
For more information, refer to “Settings Managed by the Software Build Tools” in the " Nios® II Software Build Tools Reference" section.
For more information about alt_main(), refer to “Boot Sequence and Entry Point” in the "Developing Programs Using the Hardware Abstraction Layer" section.