[edk2] [PATCH] UefiCpuPkg: ApicLib

2017-06-30 Thread Leo Duran
Now that we have a function to detect AMD processors: 1) SendInitSipiSipi () Skip repeating SendIpi () on AMD processor. 2) SendInitSipiSipiAllExcludingSelf () Skip repeating SendIpi () on AMD processor. 3) GetProcessorLocationByApicId () Adjust InitialApicId to properly concaten

[edk2] [PATCH] UefiCpuPkg: ApicLib

2017-06-30 Thread Leo Duran
1) SendInitSipiSipi () Skip repeating SendIpi () on AMD processor. 2) SendInitSipiSipiAllExcludingSelf () Skip repeating SendIpi () on AMD processor. 3) GetProcessorLocationByApicId () Adjust InitialApicId to properly concatenate Package on AMD processor. Clean-ups on C Coding standards. Cc: Jor

[edk2] [PATCH] BaseTools: Add COREBOOT tools definition

2017-06-30 Thread Patrick Georgi
That toolset is defined as the current coreboot toolchain[0] at commit time. Right now this is gcc 6.3, iasl and GNU make, with minor patches as deemed necessary for firmware development by the coreboot maintainers. COREBOOT is primarily supposed to build CorebootPayloadPkg (and its dependencies),

Re: [edk2] Tianocore.org about to have new look

2017-06-30 Thread Michael Zimmermann
Good work making it way more usable on mobile devices. Unfortunately the shadows, buttons and background make it look like a website from 10 years ago ;) If you fix the design issues it would actually be pretty good. Thanks Michael On Jun 30, 2017 12:58 AM, "Jarlstrom, Laurie" wrote: > We are

Re: [edk2] How to add support to different reg offset definition to share the same driver code?

2017-06-30 Thread Gao, Liming
Jun: You can add C MACRO in [BuildOptions] of Platform.dsc, then use DSC flag to control it. For example: Platform.dsc [Defines] DEFINE ZX_PL011_FLAG = FALSE [BuildOptions] !if $(ZX_PL011_FLAG) == TRUE *_*_*_CC_FLAGS = -D ZX_PL011_FLAG !endif Thanks Liming > -Original Message- > From:

Re: [edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()

2017-06-30 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Star > Zeng > Sent: Friday, June 30, 2017 8:43 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Cloud Wang > ; Zeng, Star > Subject: [edk2] [PATCH] MdeModule

[edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()

2017-06-30 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=614 Print (L"CapsuleApp: capsule data starts at 0x%X with size 0x%X\n", (UINTN) CapsuleBuffer, FileSize); It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index] as parameter. Cc: Jiewen Yao Cc: Cloud Wang Contributed-under:

Re: [edk2] How to add support to different reg offset definition to share the same driver code?

2017-06-30 Thread Leif Lindholm
Hi Jun, I think there is more than one benefit in mimicing the Linux driver, so I would lean towards the Pcd option. But as Ard points out to me, it needs to use a FixedPcd (using FixedPcdGet()) - this can only ever have a buildtime resolution. Regards, Leif (technically on holiday, so no patch