[edk2] [PATCH] MdeModulePkg: add PartitionName protocol

2015-09-02 Thread Michael Zimmermann
This allows to retrieve the name of a partition. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Zimmermann --- MdeModulePkg/Include/Protocol/PartitionName.h | 42 ++ MdeModulePkg/MdeModulePkg.dec | 3 ++ .../Universal

[edk2] Is edk2 broken for linux GCC Compile ?

2015-09-02 Thread Shubha Ramani
I grabbed the latest code from github, See below. But it seems like linux stuff is missing. I see CYGWIN_NT-5.1-i686 and Darwin-i386 under BaseTools/Bin. Is the gitrepo just not updated ? It seems really old and I see nothing related to Linux. I'm trying to build EDK2 on Ubuntu 14.04.  I follow

Re: [edk2] Adding Non-Spec Protocol

2015-09-02 Thread Andrew Fish
> On Sep 2, 2015, at 2:53 PM, Michael Zimmermann > wrote: > > Hi, > > I've added a Protocol named "PartitionNameProtocol" to MdePkg so I can > access GPT partition names. > The question now is if we can merge this into EDKII somehow and if so, > where the Protocol header and GUID should be loc

[edk2] Adding Non-Spec Protocol

2015-09-02 Thread Michael Zimmermann
Hi, I've added a Protocol named "PartitionNameProtocol" to MdePkg so I can access GPT partition names. The question now is if we can merge this into EDKII somehow and if so, where the Protocol header and GUID should be located. Michael ___ edk2-devel ma

Re: [edk2] [PATCH v2 4/5] ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS

2015-09-02 Thread Benjamin Herrenschmidt
On Wed, 2015-09-02 at 12:25 +0200, Laszlo Ersek wrote: > > Interesting. I have something more/less working with the IntelBDS > > (though ugly) and not at all with MdeModulePkg but as I said, I > > mostly > > copy/pasted "stuff" around without quite understanding what I was > > doing > > at this st

Re: [edk2] [PATCH 03/58] MdePkg: BaseExtractGuidedSectionLib: allow forced reinit of handler table

2015-09-02 Thread Laszlo Ersek
On 09/02/15 21:38, Jordan Justen wrote: > On 2015-07-24 16:00:09, Laszlo Ersek wrote: >> BaseExtractGuidedSectionLib uses a table at the static physical address >> PcdGuidedExtractHandlerTableAddress, and modules that are linked against >> BaseExtractGuidedSectionLib are expected to work together o

Re: [edk2] [PATCH 03/58] MdePkg: BaseExtractGuidedSectionLib: allow forced reinit of handler table

2015-09-02 Thread Jordan Justen
On 2015-07-24 16:00:09, Laszlo Ersek wrote: > BaseExtractGuidedSectionLib uses a table at the static physical address > PcdGuidedExtractHandlerTableAddress, and modules that are linked against > BaseExtractGuidedSectionLib are expected to work together on that table. > Namely, some modules can regi

Re: [edk2] [PATCH] OvmfPkg: PlatformPei: force 32-bit MMIO aperture above 3 GB on Q35

2015-09-02 Thread Laszlo Ersek
On 09/02/15 20:29, Jon Panozzo wrote: > Patch confirmed to resolve my issue. Thanks Laszlo! > > Test performed: > - Created two new VMs and installed Windows 8.1 and 10 on each respectfully. > - This was using a build of OVMF supplied by Laszlo that contained his patch. > - Prior to the patch,

Re: [edk2] [PATCH] OvmfPkg: AcpiTables: serialize control methods that create named objects

2015-09-02 Thread Laszlo Ersek
On 09/02/15 08:24, Jordan Justen wrote: > Reviewed-by: Jordan Justen Committed as SVN r18392. Thanks Laszlo > On 2015-08-28 02:16:29, Laszlo Ersek wrote: >> Bruce Cran reported the following issue: >> >> With iasl version 20150410-64 building OvmfX64 (using OvmfPkg/build.sh >> -a X64 -t GCC

Re: [edk2] [PATCH 01/58] OvmfPkg: PlatformPei: clear CMOS 0xF after setting mBootMode

2015-09-02 Thread Laszlo Ersek
On 07/29/15 20:42, Jordan Justen wrote: > Reviewed-by: Jordan Justen I committed this one patch as SVN r18391. Thanks Laszlo > On 2015-07-24 16:00:07, Laszlo Ersek wrote: >> We have an old bug in BootModeInitialization(): firmware is supposed to >> clear the CMOS register 0xF after reading it f

Re: [edk2] [PATCH] OvmfPkg: PlatformPei: force 32-bit MMIO aperture above 3 GB on Q35

2015-09-02 Thread Jon Panozzo
Patch confirmed to resolve my issue. Thanks Laszlo! Test performed: - Created two new VMs and installed Windows 8.1 and 10 on each respectfully. - This was using a build of OVMF supplied by Laszlo that contained his patch. - Prior to the patch, the OS install process would start normally, but

[edk2] [PATCH] MdePkg: Add UefiDebugLibDebugPortProtocol to output logs via EFI_DEBUGPORT_PROTOCOL.Write.

2015-09-02 Thread Masamitsu MURASE
Dear Liming, MdePkg maintainers, Thank you very much for the reply, Liming. I modified the following points: >> 1) Refer to BaseDebugLibSerialPort instance, DebugPortProtocolWrite() API >> can have two parameters: Buffer and BufferLength. >> 2) DebugPortProtocolInit() API can be merged into Debug

Re: [edk2] [PATCH] ArmPkg: Bug fix for UncachedMemoryAllocationLib

2015-09-02 Thread Leif Lindholm
Hi Heyi, Thanks a lot for this fix. Committed as SVN r18390. / Leif On 28 August 2015 at 16:21, Heyi Guo wrote: > Hi Ard, > > Would you help to commit the patch? Sorry I didn't see it upstreamed. > > Thanks. > > > On 08/17/2015 06:25 PM, Ard Biesheuvel wrote: >> >> On 13 August 2015 at 16:3

Re: [edk2] [PATCH v2 4/5] ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS

2015-09-02 Thread Laszlo Ersek
On 09/02/15 11:52, Benjamin Herrenschmidt wrote: > On Wed, 2015-09-02 at 11:33 +0200, Laszlo Ersek wrote: >> On 09/02/15 01:01, Ard Biesheuvel wrote: >>> On 2 September 2015 at 00:32, Benjamin Herrenschmidt < >>> b...@au1.ibm.com> wrote: On Wed, 2015-08-26 at 11:59 +0200, Ard Biesheuvel wrote:

Re: [edk2] [Patch] CryptoPkg: Fix one wrong parameter for weak key checking

2015-09-02 Thread Laszlo Ersek
On 09/02/15 10:25, Liming Gao wrote: > Fix one wrong offset which is passed into DES weak key checking in TdesInit(). > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Qin Long > CC: Jiaxin Wu > --- > CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdes.c | 6 +++--- > 1 f

Re: [edk2] [PATCH v2 4/5] ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS

2015-09-02 Thread Benjamin Herrenschmidt
On Wed, 2015-09-02 at 11:33 +0200, Laszlo Ersek wrote: > On 09/02/15 01:01, Ard Biesheuvel wrote: > > On 2 September 2015 at 00:32, Benjamin Herrenschmidt < > > b...@au1.ibm.com> wrote: > > > On Wed, 2015-08-26 at 11:59 +0200, Ard Biesheuvel wrote: > > > > This adds support for the Intel BDS, by in

Re: [edk2] [PATCH] MdePkg: Add UefiDebugLibDebugPortProtocol to output logs via EFI_DEBUGPORT_PROTOCOL.Write.

2015-09-02 Thread Gao, Liming
Masamitsu: Thanks for your contribution. UefiDebugLibDebugPortProtocol library is a good solution for your usage model. I agree to add it into MdePkg. For this patch, I have some minor comments. 1) Refer to BaseDebugLibSerialPort instance, DebugPortProtocolWrite() API can have two paramete

Re: [edk2] [PATCH v2 4/5] ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS

2015-09-02 Thread Laszlo Ersek
On 09/02/15 01:01, Ard Biesheuvel wrote: > On 2 September 2015 at 00:32, Benjamin Herrenschmidt wrote: >> On Wed, 2015-08-26 at 11:59 +0200, Ard Biesheuvel wrote: >>> This adds support for the Intel BDS, by introducing a define >>> 'USE_ARM_BDS' which defaults to TRUE, and can be overridden on >>>

Re: [edk2] [patch] NetworkPkg: Fix the HttpCloseConnection fail issue

2015-09-02 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu -Original Message- From: Zhang, Lubo Sent: Wednesday, September 2, 2015 3:55 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan; Ye, Ting; Wu, Jiaxin Subject: [patch] NetworkPkg: Fix the HttpCloseConnection fail issue When HTTP server is unavailable,HttpCloseConnectio

Re: [edk2] [patch] NetworkPkg: Fix the HttpCloseConnection fail issue

2015-09-02 Thread Ye, Ting
Reviewed-by: Ye Ting -Original Message- From: Zhang, Lubo Sent: Wednesday, September 02, 2015 3:55 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan; Ye, Ting; Wu, Jiaxin Subject: [patch] NetworkPkg: Fix the HttpCloseConnection fail issue When HTTP server is unavailable,HttpCloseConnection

Re: [edk2] [Patch] UefiCpuPkg/MtrrLib: MtrrValidBitsMask and MtrrValidAddressMask wrong

2015-09-02 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com -Original Message- From: Fan, Jeff Sent: Wednesday, September 02, 2015 4:13 PM To: edk2-devel@lists.01.org Cc: Tian, Feng; Yao, Jiewen Subject: [Patch] UefiCpuPkg/MtrrLib: MtrrValidBitsMask and MtrrValidAddressMask wrong Per IA32 SDM, if CPUID.8008H

Re: [edk2] [Patch] CryptoPkg: Fix one wrong parameter for weak key checking

2015-09-02 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu Thanks. -Original Message- From: Gao, Liming Sent: Wednesday, September 2, 2015 4:26 PM To: edk2-devel@lists.01.org Cc: Long, Qin; Wu, Jiaxin Subject: [Patch] CryptoPkg: Fix one wrong parameter for weak key checking Fix one wrong offset which is passed into DES w

[edk2] [Patch] CryptoPkg: Fix one wrong parameter for weak key checking

2015-09-02 Thread Liming Gao
Fix one wrong offset which is passed into DES weak key checking in TdesInit(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long CC: Jiaxin Wu --- CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

Re: [edk2] [patch] NetworkPkg: Fix the HttpCloseConnection fail issue

2015-09-02 Thread Fu, Siyuan
Reviewed-by: Fu Siyuan -Original Message- From: Zhang, Lubo Sent: Wednesday, September 2, 2015 3:55 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan ; Ye, Ting ; Wu, Jiaxin Subject: [patch] NetworkPkg: Fix the HttpCloseConnection fail issue When HTTP server is unavailable,HttpCloseConnec

Re: [edk2] [patch] MdeModulePkg:Support orderedList with default value

2015-09-02 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: Bi, Dandan Sent: Wednesday, September 02, 2015 12:58 PM To: Dong, Eric; Gao, Liming; edk2-devel@lists.01.org Subject: [patch] MdeModulePkg:Support orderedList with default value Our tool can support OrderedList which has default value,but

[edk2] [Patch] UefiCpuPkg/MtrrLib: MtrrValidBitsMask and MtrrValidAddressMask wrong

2015-09-02 Thread Jeff Fan
Per IA32 SDM, if CPUID.8008H is not available, software may assume that the processor supports a 36-bit physical address size. However, for such old processors (For example, Quark processor), MtrrValidBitsMask and MtrrValidAddressMask values are reverted and wrong in MtrrLib. MtrrValidBitsMask

[edk2] [patch] NetworkPkg: Fix the HttpCloseConnection fail issue

2015-09-02 Thread Zhang Lubo
When HTTP server is unavailable,HttpCloseConnection will enter infinite loop to wait for TCP4->close Event return, So we need to decide the Http Instance state whether in the appropriate state before close it. Cc: Fu Siyuan Cc: Ye Ting CC: Wu Jiaxin Contributed-under: TianoCore Contribution Agree