From ba3fd939c8cfb21e138f23698718b359a58b5ec9 Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Wed, 9 Jul 2014 18:38:42 +0530 Subject: [PATCH] BSP : Added notes for the Xil_ExceptionInit function in xil_exceptio.c This patch adds notes for the Xil_ExceptionInit function for modification of exception handler initilization. Signed-off-by: Kinjal Pravinbhai Patel Acked-by: Anirudha Sarangi --- lib/bsp/standalone/src/cortexa9/xil_exception.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/bsp/standalone/src/cortexa9/xil_exception.c b/lib/bsp/standalone/src/cortexa9/xil_exception.c index be405bc7..09e6b44a 100755 --- a/lib/bsp/standalone/src/cortexa9/xil_exception.c +++ b/lib/bsp/standalone/src/cortexa9/xil_exception.c @@ -114,9 +114,13 @@ DieLoop: goto DieLoop; /****************************************************************************/ /** -* -* Initialize exception handling for the Processor. The exception vector table -* is setup with the stub Handler for all exceptions. +* The function is a common API used to initialize exception handlers across all +* processors supported. For ARM CortexA9, the exception handlers are being +* initialized statically and hence this function does not do anything. +* However, it is still present to avoid any compilation issues in case an +* application uses this API and also to take care of backward compatibility +* issues (in earlier versions of BSPs, this API was being used to initialize +* exception handlers). * * @param None. *