summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/DebugAgentSymbolsBaseLib
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-28 09:55:48 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-28 09:55:48 +0000
commit619b3998880e3c28c46d3a20bbbfa879e08b3579 (patch)
tree7fb6b4baf33d5df98f589c46ff0d94ef68b66958 /ArmPkg/Library/DebugAgentSymbolsBaseLib
parentfb47559347a32fc84213f1f172cf34ac8ff33dff (diff)
downloadedk2-619b3998880e3c28c46d3a20bbbfa879e08b3579.tar.gz
edk2-619b3998880e3c28c46d3a20bbbfa879e08b3579.tar.bz2
edk2-619b3998880e3c28c46d3a20bbbfa879e08b3579.zip
ArmPkg/DefaultExceptionHandlerLib: Added support to the BASE-type library
This library could be used before the UEFI phases to expose the CPU state when an unexpected exception interrupt the firmware. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13767 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/DebugAgentSymbolsBaseLib')
-rw-r--r--ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
index 5d986779ee..c27d8e7dd3 100644
--- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
+++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
@@ -285,9 +285,8 @@ InitializeDebugAgent (
// Now we've got UART, make the check:
// - The Vector table must be 32-byte aligned
- //TODO: Define a macro for the ARM Exception Table
ASSERT(((UINT32)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);
- ArmWriteVBar (DebugAgentVectorTable);
+ ArmWriteVBar ((UINT32)DebugAgentVectorTable);
// We use InitFlag to know if DebugAgent has been intialized from
// Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)