UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20806

6.3/6.2 /6.1 EDK - LibGen does not register interrupt handlers for external interrupts

Description

Keywords: EDK, Interrupt, handler, LibGen

Urgency: Standard

General Description:
For external interrupts and peripherals not addressable from the memory map of the processor, LibGen does not register interrupt handlers in the vector table.

Solution

Use dynamic registration for such interrupt handlers.

For the PowerPC, the instruction to register a handler is the following:
void XExc_RegisterHandler(Xuint8 ExceptionId, XExceptionHandler Handler, void *DataPtr)

For the MicroBlaze, the instruction to register a handler is the following:
void microblaze_register_handler(XInterruptHandler Handler, void *DataPtr)

Documentation on each of these instructions can be found in the EDK OS and LIbraries Reference Manual, section 4.
AR# 20806
Date Created 02/11/2005
Last Updated 04/12/2007
Status Archive
Type General Article