> On Nov 10, 2015, at 7:04 AM, Andrew Fish <af...@apple.com> wrote: > > >> On Nov 10, 2015, at 12:06 AM, Gao, Liming <liming....@intel.com> wrote: >> >> Andrew: >> The patch is missing. >> > > Liming, > > My sent mail shows these 3 patches attached? > 0001-MdeModulePkg-PeiCore-Fix-Xcode-Wempty-body-warning.patch > 0002-MdeModulePkg-RegularExpressionDxe-Xcode-warnings-fix.patch > 0003-MdeModulePkg-Variable-add-mising-VA_COPY.patch > > I attached again here: >
>cat 0001-MdeModulePkg-PeiCore-Fix-Xcode-Wempty-body-warning.patch >From 4eb94d539de6ee8e4b8eebc43d67dfdfe68e64bf Mon Sep 17 00:00:00 2001 From: andrew fish <af...@apple.com> Date: Mon, 9 Nov 2015 22:29:54 -0800 Subject: [PATCH 1/4] MdeModulePkg:PeiCore Fix Xcode -Wempty-body warning The single line for(); construct is followd by code that is indented. This trigers the -Wempty-body warning. Fix indentation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <af...@apple.com> --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index 7480b66..dbcd800 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -681,15 +681,15 @@ PeiCheckAndSwitchStack ( && (*StackPointer == INIT_CAR_VALUE); StackPointer ++); - DEBUG ((EFI_D_INFO, "Temp Stack : BaseAddress=0x%p Length=0x%X\n", SecCoreData->StackBase, (UINT32)SecCoreData->StackSize)); - DEBUG ((EFI_D_INFO, "Temp Heap : BaseAddress=0x%p Length=0x%X\n", Private->HobList.Raw, (UINT32)((UINTN) Private->HobList.HandoffInformationTable->EfiFreeMemoryBottom - (UINTN) Private->HobList.Raw))); - DEBUG ((EFI_D_INFO, "Total temporary memory: %d bytes.\n", (UINT32)SecCoreData->TemporaryRamSize)); - DEBUG ((EFI_D_INFO, " temporary memory stack ever used: %d bytes.\n", - (UINT32)(SecCoreData->StackSize - ((UINTN) StackPointer - (UINTN)SecCoreData->StackBase)) - )); - DEBUG ((EFI_D_INFO, " temporary memory heap used: %d bytes.\n", - (UINT32)((UINTN)Private->HobList.HandoffInformationTable->EfiFreeMemoryBottom - (UINTN)Private->HobList.Raw) - )); + DEBUG ((EFI_D_INFO, "Temp Stack : BaseAddress=0x%p Length=0x%X\n", SecCoreData->StackBase, (UINT32)SecCoreData->StackSize)); + DEBUG ((EFI_D_INFO, "Temp Heap : BaseAddress=0x%p Length=0x%X\n", Private->HobList.Raw, (UINT32)((UINTN) Private->HobList.HandoffInformationTable->EfiFreeMemoryBottom - (UINTN) Private->HobList.Raw))); + DEBUG ((EFI_D_INFO, "Total temporary memory: %d bytes.\n", (UINT32)SecCoreData->TemporaryRamSize)); + DEBUG ((EFI_D_INFO, " temporary memory stack ever used: %d bytes.\n", + (UINT32)(SecCoreData->StackSize - ((UINTN) StackPointer - (UINTN)SecCoreData->StackBase)) + )); + DEBUG ((EFI_D_INFO, " temporary memory heap used: %d bytes.\n", + (UINT32)((UINTN)Private->HobList.HandoffInformationTable->EfiFreeMemoryBottom - (UINTN)Private->HobList.Raw) + )); DEBUG_CODE_END (); if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 && (Private->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME)) { -- 2.3.2 (Apple Git-55) > > > > Thanks, > > Andrew Fish > >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> Andrew Fish >> Sent: Tuesday, November 10, 2015 3:18 PM >> To: edk2-devel >> Cc: Tian, Feng >> Subject: [edk2] MdeModulePkg: Fix Xcode 6.3.2/clang compilation issues. >> >> Please review the following patches as they are required to build with Xcode >> 6.3.2. >> >> Thanks, >> >> Andrew Fish >> >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >> https://lists.01.org/mailman/listinfo/edk2-devel >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel