MicroBlaze Exception APIs - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
Release Date
2021.1 English

The xil_exception.h file, available in the <install-directory>/src/microblaze folder, contains Microblaze specific exception related APIs and macros.

Application programs can use these APIs for various exception related operations. For example, enable exception, disable exception, register exception hander.

Note: To use exception related functions, xil_exception.h must be added in source code
Table 1. Quick Function Reference
Type Name Arguments
void Xil_ExceptionNullHandler
  • void * Data
void Xil_ExceptionInit
  • void
void Xil_ExceptionEnable
  • void
void Xil_ExceptionDisable
  • void
void Xil_ExceptionRegisterHandler
  • u32 Id
  • Xil_ExceptionHandler Handler
  • void * Data
void Xil_ExceptionRemoveHandler
  • u32 Id