Re: [edk2] Dxe Core support for EFI_SECTION_PEI_DEPEX section.

2016-02-01 Thread Gao, Liming
Mike: I agree to update DXE dispatcher to directly handle FV image with PEI_DEPEX. If FV image with SMM_DEPEX, SMM dispatcher should handle it. Once SMM_DEPEX is satisfied, SMM core can trig event and let DxeCore install FV protocol for it. Thanks Liming -Original Message- From:

Re: [edk2] Dxe Core support for EFI_SECTION_PEI_DEPEX section.

2016-02-01 Thread Kinney, Michael D
Andrew, I agree that it looks like we can improve the logic here. 1) PEI Dispatcher: The logic looks correct to me. It only looks for a section of type EFI_SECTION_PEI_DEPEX. 2) DXE Dispatcher: The current logic ignores an FV if there is either a PEI depex or an SMM depex present. I think

[edk2] [patch 3/6] OvmfPkg:Add FileExplorerLib.inf to the dsc file

2016-02-01 Thread Dandan Bi
Because SecureBootConfigDxe use FileExplorerLib now,but FileExplorerLib is not in the dsc file of the package which use SecureBootConfigDxe.Now add it to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi ---

[edk2] [patch 5/6] SecurityPkg:Add FileExplorerLib.inf to the dsc file

2016-02-01 Thread Dandan Bi
Because SecureBootConfigDxe use FileExplorerLib now,but FileExplorerLib is not in the dsc file of the package which use SecureBootConfigDxe.Now add it to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi ---

[edk2] [patch 2/6] ArmVirPkg:Add FileExplorerLib.inf to the dsc file

2016-02-01 Thread Dandan Bi
Because SecureBootConfigDxe use FileExplorerLib now,but FileExplorerLib is not in the dsc file of the package which use SecureBootConfigDxe.Now add it to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi ---

[edk2] [patch 4/6] Vlv2TbltDevicePkg:Add FileExplorerLib.inf to the dsc file

2016-02-01 Thread Dandan Bi
Because SecureBootConfigDxe use FileExplorerLib now,but FileExplorerLib is not in the dsc file of the package which use SecureBootConfigDxe.Now add it to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi ---

[edk2] [patch 1/6] ArmPlatformPkg:Add FileExplorerLib.inf to the dsc file

2016-02-01 Thread Dandan Bi
Because SecureBootConfigDxe use FileExplorerLib now,but FileExplorerLib is not in the dsc file of the package which use SecureBootConfigDxe.Now add it to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi ---

[edk2] [patch 0/6] Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Dandan Bi
Using existing library FileExplorerLib to replace the same logic in SecureBootConfigDxe.And add FileExplorerLib to dsc files of related packages which use SecureBootConfigDxe. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Dandan Bi (6):

[edk2] [patch 6/6] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Dandan Bi
Using existing library FileExplorerLib to replace the same logic in SecureBootConfigDxe to make the code clear.After using FileExplorerLib,the UI behavior for enroll PK will change, previously when select one PK file,commit/discard changes will return to Device Manager,press ESC will return to

Re: [edk2] EFI_IP4_CONFIG2_PROTOCOL [was: Re: [PATCH v2] MdeModulePkg: Update MNP driver to recycle TX buffer asynchronously.]

2016-02-01 Thread Laszlo Ersek
On 02/01/16 05:11, Josh Triplett wrote: > On Wed, Jan 13, 2016 at 10:24:00AM -0800, Josh Triplett wrote: >> On Wed, Jan 13, 2016 at 01:43:38PM +0100, Laszlo Ersek wrote: >>> I just noticed that the most recent release of BITS provides a >>> standalone HTTP client! >>> >>>

[edk2] [patch] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Dandan Bi
Using existing library FileExplorerLib to replace the same logic in SecureBootConfigDxe to make the code clear. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- .../SecureBootConfigDxe/SecureBootConfig.vfr | 109 +-

Re: [edk2] [patch] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Laszlo Ersek
On 02/01/16 10:06, Dandan Bi wrote: > Using existing library FileExplorerLib to replace the same > logic in SecureBootConfigDxe to make the code clear. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- >

Re: [edk2] [patch] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Bi, Dandan
Hi Laszlo, Thanks for your comments. I will update the related package.dsc files, and new patch series will send out later. Thanks, Dandan -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Monday, February 1, 2016 5:22 PM To: Bi, Dandan Cc: Zhang, Chao B; Dong,

Re: [edk2] [patch] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Zhang, Chao B
Dandan: Can you also add more specific description in check in log about the SecureBoot Config UI behavior change after your patch? Thanks & Best regards Chao Zhang -Original Message- From: Bi, Dandan Sent: Monday, February 01, 2016 6:02 PM To: Laszlo Ersek Cc: Zhang, Chao B;

Re: [edk2] Variable length PcdRsa2048Sha256PublicKeyBuffer PCD

2016-02-01 Thread Cohen, Eugene
Mike, Thank you - I was looking at the DEC spec for size stuff and somehow it didn't occur to me to check the DSC spec. This is exactly what I needed. Eugene > -Original Message- > From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] > Sent: Saturday, January 30, 2016 9:59 AM >

Re: [edk2] [Patch 1/3] MdeModulePkg: Update the default size of MNP TX buffer pool.

2016-02-01 Thread Laszlo Ersek
On 02/01/16 03:51, Fu Siyuan wrote: > This patch update the default MNP TX buffer increasement to 32, so the default > TX pool length is same as the maximum recycled buffer numbers in one UNDI > GetStatus command. Is that MAX_XMIT_BUFFERS in PxeGetStatus()? > Contributed-under: TianoCore

[edk2] Not able to run into shell

2016-02-01 Thread Peng Fan
Hi, I am porting edk2 to a ARM64 based SoC, but when starting shell, edk2 hangs. I do not have a clear idea on this. Does anyone know this? " UEFI v2.50 (IMX board EFI Jan 8 2016 06:52:28, 0x) Mapping table map: No mapping found. No SimpleTextInputEx was found. CTRL-based features are

[edk2] Dxe Core support for EFI_SECTION_PEI_DEPEX section.

2016-02-01 Thread Andrew Fish
I have an FV and I'd like to have PEI and DXE code in it. The code that I need to access at PEI Time (DXE Core) is a compressed file in the FV. The code that only needs to be accessed at DXE time is in a compressed FV. By default PEI will try to decompress the FV Section, so I added a

[edk2] [PATCH v4] NetworkPkg:Add a new error status code EFI_HTTP_ERROR

2016-02-01 Thread Zhang Lubo
v4: * Update macro HTTP_ERROR_STATUS to HTTP_ERROR_OR_NOT_SUPPORT_STATUS_CODE Update copyright year. When the Error Status of ResponseData returned from HttpIoRecvResponse function during the Http HEAD method, it should also return error status to Load file protocol. Cc: Fu Siyuan

Re: [edk2] [PATCH v4] NetworkPkg:Add a new error status code EFI_HTTP_ERROR

2016-02-01 Thread Fu, Siyuan
Reviewed-by: Siyuan Fu -Original Message- From: Zhang, Lubo Sent: Tuesday, February 2, 2016 2:52 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan ; Ye, Ting ; Wu, Jiaxin Subject: [PATCH v4] NetworkPkg:Add a

[edk2] SATA 3.0 AHCI host controller codebase

2016-02-01 Thread Shaveta Leekha
Hi, Is there some SATA 3.0 AHCI driver implementation in UEFI / EDK code? The one I need to write for our platform is not PCI based. I have seen few implementations in EDK2: DuetPkg/SataControllerDxe/SataController.c OvmfPkg/SataControllerDxe/SataController.c But in all of them SATA connectivity

Re: [edk2] [PATCH] SecurityPkg: TcgConfigDxe: Move TPM state string update to CallBack function

2016-02-01 Thread Bi, Dandan
Reviewed-by: Dandan Bi -Original Message- From: Zhang, Chao B Sent: Friday, January 29, 2016 4:47 PM To: edk2-de...@ml01.01.org Cc: Yao, Jiewen; Bi, Dandan; Zhang, Chao B Subject: [PATCH] SecurityPkg: TcgConfigDxe: Move TPM state string update to CallBack function

Re: [edk2] [patch 6/6] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Bi, Dandan
Hi Chao, Thanks for your comments. 1. The copyright info has updated in the latest [patch 6/6] patch. 2. The FileExplorerLib is already in NT32Pkg.dsc & Quark.dsc, So no need to update. Thanks, Dandan -Original Message- From: Zhang, Chao B Sent: Tuesday, February 2, 2016 1:45

Re: [edk2] [patch] NetworkPkg: Fix suspicious dereference of pointer 'Mode.Ia'

2016-02-01 Thread Fu, Siyuan
Reviewed-by: Siyuan Fu -Original Message- From: Zhang, Lubo Sent: Tuesday, February 2, 2016 2:51 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan ; Ye, Ting ; Wu, Jiaxin Subject: [patch] NetworkPkg: Fix

Re: [edk2] [patch] NetworkPkg: Fix suspicious dereference of pointer 'Mode.Ia'

2016-02-01 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu -Original Message- From: Zhang, Lubo Sent: Tuesday, February 2, 2016 2:51 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan; Ye, Ting; Wu, Jiaxin Subject: [patch] NetworkPkg: Fix suspicious dereference of pointer 'Mode.Ia' This patch is used to

[edk2] [Patch] MdePkg: Add TLS related protocol definition

2016-02-01 Thread Jiaxin Wu
This patch is used to add Tls.h and TlsConfig.h header files to define EFI TLS Configuration Protocol, EFI TLS Service Binding Protocol and EFI TLS Configuration Protocol. Cc: Ye Ting Cc: Fu Siyuan Cc: Long Qin Contributed-under:

Re: [edk2] [patch 6/6] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Zhang, Chao B
Dandan: 1. The copyright head file change is not right. 2. Do we need to update NT32Pkg.dsc & Quark Platform dsc? Other changes are good to me Thanks & Best regards Chao Zhang -Original Message- From: Bi, Dandan Sent: Tuesday, February 02, 2016 10:18 AM To: Zhang, Chao B; Dong,

[edk2] [patch 6/6] SecurityPkg:Use FileExplorerLib in SecureBootConfigDxe

2016-02-01 Thread Dandan Bi
Sorry for giving the wrong [patch 6/6] in patches serial, this is the correct one. Using existing library FileExplorerLib to replace the same logic in SecureBootConfigDxe to make the code clear.After using FileExplorerLib,the UI behavior for enroll PK will change, previously when select one PK

Re: [edk2] [Patch 0/3] Fix several issues related to TX buffer recycle

2016-02-01 Thread Wu, Jiaxin
Series Reviewed-by: Jiaxin Wu -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Fu Siyuan Sent: Monday, February 1, 2016 10:51 AM To: edk2-devel@lists.01.org Subject: [edk2] [Patch 0/3] Fix several issues related to TX buffer

Re: [edk2] [Patch V4 4/4] MdeModulePkg: Add generic PciHostBridgeDxe driver.

2016-02-01 Thread Marcel Apfelbaum
On 01/26/2016 07:17 AM, Ni, Ruiyu wrote: Laszlo, I now understand your problem. Can you tell me why OVMF needs multiple root bridges support? My understanding to OVMF is it's a firmware which can be used in a guest VM environment to boot OS. Multiple root bridges requirement currently mainly

[edk2] [PATCH 2/4] BeagleBoardPkg: Rectify file modes

2016-02-01 Thread evan . lloyd
From: Evan Lloyd Problems have been encountered because some of the source files have execute permission set. This can cause git to report them as changed when they are checked out onto a file system with inherited permissions. This has been seen using Cygwin, MinGW and

[edk2] [PATCH 3/4] EmbeddedPkg: Rectify file modes

2016-02-01 Thread evan . lloyd
From: Evan Lloyd Problems have been encountered because some of the source files have execute permission set. This can cause git to report them as changed when they are checked out onto a file system with inherited permissions. This has been seen using Cygwin, MinGW and

[edk2] [PATCH 4/4] Omap35xxPkg: Rectify file modes

2016-02-01 Thread evan . lloyd
From: Evan Lloyd Problems have been encountered because some of the source files have execute permission set. This can cause git to report them as changed when they are checked out onto a file system with inherited permissions. This has been seen using Cygwin, MinGW and

[edk2] [PATCH 1/4] ArmPlatformPkg: Rectify file modes

2016-02-01 Thread evan . lloyd
From: Evan Lloyd Problems have been encountered because some of the source files have execute permission set. This can cause git to report them as changed when they are checked out onto a file system with inherited permissions. This has been seen using Cygwin, MinGW and