From 151acec6e15daa19986985a3f86ded3a8bcf6a3a Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 18 Aug 2011 11:12:39 +0000 Subject: ArmPkg: Fix ARMGCC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/ArmDmaLib/ArmDmaLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ArmPkg') diff --git a/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c b/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c index f8d8a75..4764b42 100755 --- a/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c +++ b/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c @@ -96,7 +96,7 @@ DmaMap ( ((*NumberOfBytes % gCacheAlignment) != 0)) { // Get the cacheability of the region - Status = gDS->GetMemorySpaceDescriptor (HostAddress, &GcdDescriptor); + Status = gDS->GetMemorySpaceDescriptor (*DeviceAddress, &GcdDescriptor); if (EFI_ERROR(Status)) { return Status; } -- cgit v1.1