mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
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:
parent
11e667fbab
commit
151acec6e1
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user