summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmDmaLib
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:12:39 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:12:39 +0000
commit151acec6e15daa19986985a3f86ded3a8bcf6a3a (patch)
treee14adaf644df6d1664166b56d8f062ee910dd13e /ArmPkg/Library/ArmDmaLib
parent11e667fbabab94f1c020fc37204b50526a7bb9f8 (diff)
downloadedk2-platforms-151acec6e15daa19986985a3f86ded3a8bcf6a3a.tar.xz
ArmPkg: Fix ARMGCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmDmaLib')
-rwxr-xr-xArmPkg/Library/ArmDmaLib/ArmDmaLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c b/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c
index f8d8a7542b..4764b4237a 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;
}