microblaze_register_exception_handler - 2021.1 English

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

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

Registers an exception handler for the MicroBlaze.

The argument provided in this call as the DataPtr is used as the argument for the handler when it is called.

Prototype

void microblaze_register_exception_handler(u32 ExceptionId, Xil_ExceptionHandler Handler, void *DataPtr);

Parameters

The following table lists the microblaze_register_exception_handler function arguments.

Table 1. microblaze_register_exception_handler Arguments
Name Description
ExceptionId is the id of the exception to register this handler for.
Top level handler.
DataPtr is a reference to data that will be passed to the handler when it gets called.

Returns

None.