The xil_exception.h file available in the <install-directory>/src/riscv folder contains RISC-V specific exception related APIs and macros.
Application programs can use these APIs/Macros for various exception related operations, for example, enable exception, disable exception, and register exception handler.
Note: To use exception related functions, the xil_exception.h file must be added in
source code.
| Type | Name | Arguments |
|---|---|---|
| void | Xil_ExceptionNullHandler |
|
| void | Xil_ExceptionInit |
|
| void | Xil_ExceptionEnable |
|
| void | Xil_ExceptionDisable |
|
| void | Xil_ExceptionRegisterHandler |
|
| void | Xil_ExceptionRemoveHandler |
|