embeddedsw/XilinxProcessorIPLib/drivers/dp
Andrei-Liviu Simion 0e5f54a853 dp: Guard interrupts against uninitialized callbacks.
If an interrupt occurs without a user defined callback, don't invoke the
function.
Otherwise, unexpected behavior will be seen due to running code from 0x0 (NULL).

Prior to this, it was the responsibility of the user to ensure all callbacks for
interrupts were set.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
2015-08-05 21:14:36 +05:30
..
data dp: rx: Renamed interrupt + timer example to reflect SST + DP159. 2015-08-05 21:12:20 +05:30
examples dp: Fixed compilation warnings. 2015-08-05 21:13:05 +05:30
src dp: Guard interrupts against uninitialized callbacks. 2015-08-05 21:14:36 +05:30