ArmPkg: Fix ARMGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-08-18 11:12:39 +00:00
parent 11e667fbab
commit 151acec6e1
2 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,7 @@ DmaMap (
((*NumberOfBytes % gCacheAlignment) != 0)) { ((*NumberOfBytes % gCacheAlignment) != 0)) {
// Get the cacheability of the region // Get the cacheability of the region
Status = gDS->GetMemorySpaceDescriptor (HostAddress, &GcdDescriptor); Status = gDS->GetMemorySpaceDescriptor (*DeviceAddress, &GcdDescriptor);
if (EFI_ERROR(Status)) { if (EFI_ERROR(Status)) {
return Status; return Status;
} }

View File

@ -196,7 +196,6 @@ MmcIdentificationMode (
UINTN CmdArg; UINTN CmdArg;
BOOLEAN IsHCS; BOOLEAN IsHCS;
EFI_MMC_HOST_PROTOCOL *MmcHost; EFI_MMC_HOST_PROTOCOL *MmcHost;
UINTN CmdRetryCnt;
MmcHost = MmcHostInstance->MmcHost; MmcHost = MmcHostInstance->MmcHost;
CmdArg = 0; CmdArg = 0;