diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 02:54:31 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 02:54:31 +0000 |
commit | d4f167a92a5455c2e90a0a69e281ecb5799678db (patch) | |
tree | acf8bdd329681c0095e4255a42473b56d5cad84e /ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c | |
parent | f4d7c87220a4aad3a5d76d54256e42db411281c5 (diff) | |
download | edk2-platforms-d4f167a92a5455c2e90a0a69e281ecb5799678db.tar.xz |
Missed a fix in the Cpu Driver. Added some more debug for Execption handling and clean up some uncached stuff.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9789 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c')
-rw-r--r-- | ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c index 060ba6bf98..830212e4d7 100644 --- a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c +++ b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c @@ -207,7 +207,7 @@ UncachedInternalAllocateAlignedPages ( }
if (AlignedMemory != 0) {
- FlushCache(AlignedMemory, EFI_PAGES_TO_SIZE(Pages));
+ FlushCache (AlignedMemory, EFI_PAGES_TO_SIZE(Pages));
AlignedMemory = (UINTN)ConvertToUncachedAddress((VOID *)AlignedMemory);
}
@@ -318,7 +318,7 @@ UncachedInternalAllocateAlignedPool ( *FreePointer = RawAddress;
if (AlignedAddress != 0) {
- FlushCache(AlignedAddress, AllocationSize);
+ FlushCache (AlignedAddress, AllocationSize);
AlignedAddress = (UINTN)ConvertToUncachedAddress((VOID *)AlignedAddress);
}
|