RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions | Variables
xil_assert.c File Reference
#include "xil_types.h"
#include "xil_assert.h"

Functions

void Xil_Assert (const char8 *File, s32 Line)
 Implement assert. Currently, it calls a user-defined callback function if one has been set. Then, it potentially enters an infinite loop depending on the value of the Xil_AssertWait variable.
 
void Xil_AssertSetCallback (Xil_AssertCallback Routine)
 Set up a callback function to be invoked when an assert occurs. If a callback is already installed, then it will be replaced.
 
void XNullHandler (void *NullParameter)
 Null handler function. This follows the XInterruptHandler signature for interrupt handlers. It can be used to assign a null handler (a stub) to an interrupt controller vector table.
 

Variables

u32 Xil_AssertStatus
 This variable allows testing to be done easier with asserts. An assert sets this variable such that a driver can evaluate this variable to determine if an assert occurred.
 
s32 Xil_AssertWait = 1
 This variable allows the assert functionality to be changed for testing such that it does not wait infinitely. Use the debugger to disable the waiting during testing of asserts.