From 65e27445877ff101115c79e76928d91bf7625876 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 16 Feb 2010 23:45:42 +0000 Subject: Fix bug in UncachedMemoryAllocationLib, Assembler, make DefaultExceptionHandler lib inc the PC past the faulting instruction to aid debug. Update LR in Exception hanlder, so return address can get updated properly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10018 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c | 2 +- .../UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ArmPkg/Library/UncachedMemoryAllocationLib') diff --git a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c index fa683e19ed..bf1497daf0 100644 --- a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c +++ b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c @@ -609,7 +609,7 @@ UncachedSafeFreePool ( **/ EFI_STATUS EFIAPI -DebugUncachedMemoryAllocationLibConstructor ( +UncachedMemoryAllocationLibConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable ) diff --git a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf index 87ff18ce37..8b596377bd 100644 --- a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf +++ b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf @@ -20,6 +20,7 @@ MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 LIBRARY_CLASS = UncachedMemoryAllocationLib + CONSTRUCTOR = UncachedMemoryAllocationLibConstructor [Sources.common] UncachedMemoryAllocationLib.c @@ -37,4 +38,5 @@ MemoryAllocationLib DxeServicesTableLib - \ No newline at end of file +[Depex] + gEfiCpuArchProtocolGuid \ No newline at end of file -- cgit v1.2.3