mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Update PeiCore to pass XCODE tool chain
It fixes the warning for loop has empty body [-Werror,-Wempty-body]. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liang Vincent <vincent.liang@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
032de38a07
commit
be18cb0305
|
@ -676,7 +676,8 @@ PeiCheckAndSwitchStack (
|
||||||
for (StackPointer = (UINT32*)SecCoreData->StackBase;
|
for (StackPointer = (UINT32*)SecCoreData->StackBase;
|
||||||
(StackPointer < (UINT32*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \
|
(StackPointer < (UINT32*)((UINTN)SecCoreData->StackBase + SecCoreData->StackSize)) \
|
||||||
&& (*StackPointer == PcdGet32 (PcdInitValueInTempStack));
|
&& (*StackPointer == PcdGet32 (PcdInitValueInTempStack));
|
||||||
StackPointer ++);
|
StackPointer ++) {
|
||||||
|
}
|
||||||
|
|
||||||
DEBUG ((DEBUG_INFO, "Temp Stack : BaseAddress=0x%p Length=0x%X\n", SecCoreData->StackBase, (UINT32)SecCoreData->StackSize));
|
DEBUG ((DEBUG_INFO, "Temp Stack : BaseAddress=0x%p Length=0x%X\n", SecCoreData->StackBase, (UINT32)SecCoreData->StackSize));
|
||||||
DEBUG ((DEBUG_INFO, "Temp Heap : BaseAddress=0x%p Length=0x%X\n", SecCoreData->PeiTemporaryRamBase, (UINT32)SecCoreData->PeiTemporaryRamSize));
|
DEBUG ((DEBUG_INFO, "Temp Heap : BaseAddress=0x%p Length=0x%X\n", SecCoreData->PeiTemporaryRamBase, (UINT32)SecCoreData->PeiTemporaryRamSize));
|
||||||
|
|
Loading…
Reference in New Issue