Re: [edk2] build error on fresh download

2017-06-19 Thread Zhu, Yonghong
Hi Nick, The root cause is current GCC5 tool chain doesn't support the IPF and EBC arch. So I think you don't need to build this two arch on GCC5 tool chain. Besides, I can enhance the error message to make it more clear. Best Regards, Zhu Yonghong -Original Message- From: Nick [mailto

[edk2] [PATCH] MdeModulePkg: Fix use-after-free error in InstallConfigurationTable()

2017-06-19 Thread Star Zeng
From: "Shi, Steven" When installing configuration table and the original gDxeCoreST->ConfigurationTable[] buffer happen to be not big enough to add a new table, the CoreInstallConfigurationTable() enter the branch of line 113 in InstallConfigurationTable.c to free the old gDxeCoreST->Configuratio

[edk2] Smbus support ddr4 spd new command question

2017-06-19 Thread Tiger Liu
Hi, experts: DDR4 DRAM SPD is 512 bytes. So, there exists Page bank switch requirement. Current, DD4 SPD chip support below 2 commands: SPA0 : Set EE Page Address to 0 SPA1 : Set EE Page Address to 1 So, my question is: I could not find above two commands definitions in MdePkg\Include\IndustrySt

[edk2] [PATCH V3] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol

2017-06-19 Thread Amit Kumar
Change Since v2: 1) Modified to use EFI_ERROR to get status code Change since v1: 1) Fixed typo protocal to protocol 2) Fixed coding style Modified source code to update Interface as per spec. 1) In case of Protocol is un-supported, interface should be returned NULL. 2) In case of any error, inte

Re: [edk2] [PATCH V3] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol

2017-06-19 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Amit > Kumar > Sent: Monday, June 19, 2017 8:24 PM > To: edk2-devel@lists.01.org > Cc: Tian, Feng > Subject: [edk2] [PATCH V3] MdeModulePkg/DxeCore: Fixed Interface retu

Re: [edk2] [PATCH 1/5] OvmfPkg: introduce Q35TsegSizeLib (class header and sole lib instance)

2017-06-19 Thread Jordan Justen
On 2017-06-08 10:13:29, Laszlo Ersek wrote: > OvmfPkg contains three modules that work with the TSEG (SMRAM) size: > PlatformPei (PEIM), SmmAccessPei (PEIM), and SmmAccess2Dxe (DXE_DRIVER). > These modules open-code the interpretation of the ESMRAMC register's > TSEG_SZ bit-field. That is OK as lon

Re: [edk2] [PATCH 0/5] OvmfPkg: recognize an extended TSEG when QEMU offers it

2017-06-19 Thread Jordan Justen
On 2017-06-08 10:13:28, Laszlo Ersek wrote: > In we found that > the SMM_REQUIRE build of OVMF cannot boot with as many VCPUs as we'd > like, due to SMRAM exhaustion (even with the largest TSEG, 8MB). > > Related thread on edk2-devel: >

Re: [edk2] [PATCH 1/5] OvmfPkg: introduce Q35TsegSizeLib (class header and sole lib instance)

2017-06-19 Thread Laszlo Ersek
On 06/19/17 19:30, Jordan Justen wrote: > On 2017-06-08 10:13:29, Laszlo Ersek wrote: >> OvmfPkg contains three modules that work with the TSEG (SMRAM) size: >> PlatformPei (PEIM), SmmAccessPei (PEIM), and SmmAccess2Dxe (DXE_DRIVER). >> These modules open-code the interpretation of the ESMRAMC regi

Re: [edk2] [PATCH 0/5] OvmfPkg: recognize an extended TSEG when QEMU offers it

2017-06-19 Thread Laszlo Ersek
On 06/19/17 20:09, Jordan Justen wrote: > On 2017-06-08 10:13:28, Laszlo Ersek wrote: >> In we found that >> the SMM_REQUIRE build of OVMF cannot boot with as many VCPUs as we'd >> like, due to SMRAM exhaustion (even with the largest TSEG, 8MB).

Re: [edk2] [Patch V2] NetworkPkg/HttpBootDxe: Add HTTP Boot Callback protocol support.

2017-06-19 Thread Wu, Jiaxin
Hi Siyuan, The patch v2 will cause the build error: possible loss of data. Percentage = (Private->ReceivedSize * 100) / Private->FileSize; Private->ReceivedSize is UINT64, while Percentage is UINTN. After change all of them to UINT64, error LNK2001 happen: HttpBootDxe.lib(HttpBootImpl.obj

[edk2] [Patch V3] NetworkPkg/HttpBootDxe: Add HTTP Boot Callback protocol support.

2017-06-19 Thread Fu Siyuan
V3 update: Fix X64 build error. V2 update: Correct the file size print for IA32. This patch updates the HTTP Boot driver to install a default HTTP Callback protocol if the platform doesn't provide one. This callback implementation will print the boot file download progress in percentage format.

Re: [edk2] [Patch V3] NetworkPkg/HttpBootDxe: Add HTTP Boot Callback protocol support.

2017-06-19 Thread Wu, Jiaxin
Reviewed-by: Wu Jiaxin > -Original Message- > From: Fu, Siyuan > Sent: Tuesday, June 20, 2017 9:23 AM > To: edk2-devel@lists.01.org > Cc: Ye, Ting ; Wu, Jiaxin > Subject: [Patch V3] NetworkPkg/HttpBootDxe: Add HTTP Boot Callback > protocol support. > > V3 update: > Fix X64 build error.

Re: [edk2] [PATCH] MdeModulePkg: Fix use-after-free error in InstallConfigurationTable()

2017-06-19 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Zeng, Star > Sent: Tuesday, June 20, 2017 9:28 AM > To: Yao, Jiewen ; Gao, Liming > Cc: Zeng, Star ; Shi, Steven > Subject: RE: [edk2] [PATCH] MdeModulePkg: Fix use-after-free error in > InstallConfigurationTable() > > Help

Re: [edk2] [PATCH] MdeModulePkg: Fix use-after-free error in InstallConfigurationTable()

2017-06-19 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Star >Zeng >Sent: Monday, June 19, 2017 6:24 PM >To: edk2-devel@lists.01.org >Cc: Yao, Jiewen ; Zeng, Star ; >Gao, Liming >Subject: [edk2] [PATCH] MdeModulePkg: Fix use-aft

Re: [edk2] [PATCH] MdeModulePkg: Fix use-after-free error in InstallConfigurationTable()

2017-06-19 Thread Shi, Steven
Reviewed-by: Steven Shi Steven Shi Intel\SSG\STO\UEFI Firmware Tel: +86 021-61166522 iNet: 821-6522 > -Original Message- > From: Zeng, Star > Sent: Monday, June 19, 2017 6:24 PM > To: edk2-devel@lists.01.org > Cc: Shi, Steven ; Yao, Jiewen ; > Gao, Liming ; Zeng, Star > Subject: [PAT

[edk2] PISCT error

2017-06-19 Thread wang xiaofeng
Hi All, I meet the same error as kathirk rasied in https://sourceforge.net/projects/pi-sct/ two years ago Is the owner in this list can help to answer or solve this issue? I tried to file a bug in bugzilla.tianocore.org but cannot found the packget in "Package" field. kathirk-93 1

Re: [edk2] PISCT error

2017-06-19 Thread Zhu, Yonghong
Add Auber into mail loop. Xiaofeng, you can file the bug on bugzilla first and mark the package as 'N/A' first. Best Regards, Zhu Yonghong -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang xiaofeng Sent: Tuesday, June 20, 2017 1:12 PM To: e

Re: [edk2] PISCT error

2017-06-19 Thread wang xiaofeng
Bug 602 is filed for this issue At 2017-06-20 13:34:09, "Zhu, Yonghong" wrote: >Add Auber into mail loop. > >Xiaofeng, you can file the bug on bugzilla first and mark the package as 'N/A' >first. > >Best Regards, >Zhu Yonghong > > >-Original Message- >From: edk2-devel [mailto:edk