commit | 151acec6e15daa19986985a3f86ded3a8bcf6a3a | [log] [tgz] |
---|---|---|
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | Thu Aug 18 11:12:39 2011 +0000 |
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | Thu Aug 18 11:12:39 2011 +0000 |
tree | e14adaf644df6d1664166b56d8f062ee910dd13e | |
parent | 11e667fbabab94f1c020fc37204b50526a7bb9f8 [diff] |
ArmPkg: Fix ARMGCC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524
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 @@ ((*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; }
diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c b/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c index e222a78..cc0d5bd 100644 --- a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c +++ b/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c
@@ -196,7 +196,6 @@ UINTN CmdArg; BOOLEAN IsHCS; EFI_MMC_HOST_PROTOCOL *MmcHost; - UINTN CmdRetryCnt; MmcHost = MmcHostInstance->MmcHost; CmdArg = 0;