Re: [edk2] Measured boot in OVMF with QEMU TPM passthrough?

2015-08-21 Thread David Van Arnem
Hello again, I've done some analysis and here's where I'm at with measured boot with OVMF in a QEMU guest: I've verified that most of the relevant modules that need to be added according to the instructions at

Re: [edk2] [PATCH 11/15] OvmfPkg: Link separated VarCheckUefiLib NULL class library instance

2015-08-21 Thread Laszlo Ersek
On 08/17/15 10:24, Star Zeng wrote: Cc: Jordan Justen jordan.l.jus...@intel.com Cc: Laszlo Ersek ler...@redhat.com Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng star.z...@intel.com --- OvmfPkg/OvmfPkgIa32.dsc| 5 - OvmfPkg/OvmfPkgIa32X64.dsc | 5

Re: [edk2] [PATCH 04/15] OvmfPkg: Add VarCheckLib library mapping

2015-08-21 Thread Laszlo Ersek
On 08/17/15 10:23, Star Zeng wrote: Since Variable driver has been updated to consume the separated VarCheckLib. Cc: Jordan Justen jordan.l.jus...@intel.com Cc: Laszlo Ersek ler...@redhat.com Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng

Re: [edk2] [PATCH v2 2/2] OvmfPkg: Add HttpBoot support

2015-08-21 Thread Laszlo Ersek
On 08/17/15 10:20, Gary Ching-Pang Lin wrote: This commit introdues a new build option to OvmfPkg: HTTP_BOOT_ENABLE. When HttpBoot is enabled, a new Network boot option will show in the boot manager menu with the device path like this:

Re: [edk2] [Patch 0/3] Add header file and driver module for HTTP utilities

2015-08-21 Thread El-Haj-Mahmoud, Samer
Thank you for doing this! Series Reviewed-by: Samer El-Haj-Mahmoud samer.el-haj-mahm...@hp.com -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Jiaxin Wu Sent: Thursday, August 20, 2015 8:37 PM To: edk2-devel@lists.01.org Subject: [edk2] [Patch

Re: [edk2] Measured boot in OVMF with QEMU TPM passthrough?

2015-08-21 Thread Laszlo Ersek
On 08/21/15 18:44, David Van Arnem wrote: Hello again, I've done some analysis and here's where I'm at with measured boot with OVMF in a QEMU guest: I've verified that most of the relevant modules that need to be added according to the instructions at

Re: [edk2] [PATCH 13/15] ArmVirtPkg: Link separated VarCheckUefiLib NULL class library instance

2015-08-21 Thread Laszlo Ersek
On 08/18/15 14:05, Ard Biesheuvel wrote: On 17 August 2015 at 10:24, Star Zeng star.z...@intel.com wrote: Cc: Laszlo Ersek ler...@redhat.com Cc: Ard Biesheuvel ard.biesheu...@linaro.org Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng star.z...@intel.com

Re: [edk2] Measured boot in OVMF with QEMU TPM passthrough?

2015-08-21 Thread Ronny Chevalier
On Fri, Aug 21, 2015 at 6:44 PM, David Van Arnem dvanar...@cmlab.biz wrote: Hello again, I've done some analysis and here's where I'm at with measured boot with OVMF in a QEMU guest: I've verified that most of the relevant modules that need to be added according to the instructions at

Re: [edk2] Measured boot in OVMF with QEMU TPM passthrough?

2015-08-21 Thread Ronny Chevalier
On Fri, Aug 21, 2015 at 7:21 PM, Laszlo Ersek ler...@redhat.com wrote: On 08/21/15 18:44, David Van Arnem wrote: Hello again, I've done some analysis and here's where I'm at with measured boot with OVMF in a QEMU guest: I've verified that most of the relevant modules that need to be added

[edk2] [PATCH 2/2] MdePkg: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2

2015-08-21 Thread Star Zeng
for FFS data above 16 bytes alignment requirement. PI spec requires FFS header to be at 8 bytes alignment to FV header. And, FFS data alignment requires the beginning of the file data must be aligned on a particular boundary, such as 1, 16, 128 bytes or above. If FFS data alignment requires to be

[edk2] [PATCH 1/2] BaseTools: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2

2015-08-21 Thread Star Zeng
for FFS data above 16 bytes alignment requirement. PI spec requires FFS header to be at 8 bytes alignment to FV header. And, FFS data alignment requires the beginning of the file data must be aligned on a particular boundary, such as 1, 16, 128 bytes or above. If FFS data alignment requires to be

Re: [edk2] [PATCH 2/2] MdePkg: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2

2015-08-21 Thread Gao, Liming
Reviewed-by: Liming Gao liming@intel.com -Original Message- From: Zeng, Star Sent: Friday, August 21, 2015 2:19 PM To: edk2-devel@lists.01.org Cc: Gao, Liming Subject: [PATCH 2/2] MdePkg: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2 for FFS data above 16 bytes

[edk2] [PATCH v2 0/6] Add generic PcdGetSize() API

2015-08-21 Thread Liming Gao
V2: BaseTools generates the real size for the intital value of VOID* PCD. Update BasePcdLibNull library instance to add two new PcdApi. V1: PcdLib LibPcdGetSize() and LibPcdGetExSize() are type specific API. New generic PcdGetSize() API will be added to reterieve the size of PCD value. Like

[edk2] [PATCH v2 5/6] MdePkg: Add two PcdApi for Patch VOID* PCD set operation.

2015-08-21 Thread Liming Gao
Two new APIs LibPatchPcdSetPtrAndSize() and LibPatchPcdSetPtrAndSizeS() are added to catch the size of the updated VOID* PCD value buffer, then PcdGetSize() API can return the actual size. Update three PcdLib instances to implement these two APIs. Contributed-under: TianoCore Contribution

[edk2] [PATCH v2 3/6] BaseTools: Update SetPcdPtr in AutoGen Code

2015-08-21 Thread Liming Gao
For patchable PCD, map SetPcdPtr() to LibPatchPcdSetPtrAndSize(), then the size of the updated VOID* value can be cached. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao liming@intel.com Reviewed-by: Star Zeng star.z...@intel.com ---

[edk2] [PATCH v2 2/6] BaseTools: Fix AutoGen issue for Patchable VOID* PCD.

2015-08-21 Thread Liming Gao
Patchable VOID* PCD set operation should map LibPatchPcdSetPtr() and LibPatchPcdSetPtrS() API. This has been done when PCD is used in driver, but not done when PCD is used in library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao liming@intel.com

[edk2] [PATCH v2 1/6] BaseTools: Generate macro for the size of PCD value

2015-08-21 Thread Liming Gao
PcdLib introduces new APIs to get the size of PCD value. BaseTools generates those macros in AutoGen code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bob Feng bob.c.f...@intel.com Reviewed-by: Star Zeng star.z...@intel.com --- BaseTools/Source/Python/AutoGen/GenC.py |

[edk2] [PATCH v2 4/6] MdePkg: Add four PcdGetSize() API in PcdLib

2015-08-21 Thread Liming Gao
Add below four PcdGetSize() API in PcdLib header file. They can be used to get the size of PCD value. FixedPcdGetSize() PatchPcdGetSize() PcdGetSize() PcdGetExSize() Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao liming@intel.com Reviewed-by: Star Zeng

[edk2] [PATCH v2 6/6] SecurityPkg: Use PcdGetSize to get the size of VOID* PCD value.

2015-08-21 Thread Liming Gao
PcdLib introduces generic API to get the size of VOID* PCD value. Update Pei and Dxe RsaGuidedLib to use generic PCD API instead of GetEx API. This change can remove PCD type limitation in these two libraries. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao

[edk2] [PATCH 0/3] MdePkg/Library/UefiFileHandleLib: Refine UefiFileHandleLib

2015-08-21 Thread Qiu Shumin
1. Update the module's type and Basename. 2. Refine FileHandleGetFileName's return string. 3. Make FileHandleReadLine return the right buffer size. Qiu Shumin (3): MdePkg/Library/UefiFileHandleLib: Update the module Basename and module type to 'UEFI*'. MdePkg/Library/UefiFileHandleLib:

[edk2] [PATCH 1/3] MdePkg/Library/UefiFileHandleLib: Update the module Basename and module type to 'UEFI*'.

2015-08-21 Thread Qiu Shumin
The library instance is not BASE type, to follow naming convention this patch change Basename into 'Uefi*Lib' and module type into 'UEFI_DRIVER'. Cc: Jaben Carsey jaben.car...@intel.com Cc: Liming Gao liming@intel.com Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu

Re: [edk2] [PATCH 1/2] BaseTools: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2

2015-08-21 Thread Gao, Liming
Reviewed-by: Liming Gao liming@intel.com -Original Message- From: Zeng, Star Sent: Friday, August 21, 2015 2:19 PM To: edk2-devel@lists.01.org Cc: Gao, Liming Subject: [PATCH 1/2] BaseTools: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2 for FFS data above 16 bytes

Re: [edk2] [Patch 2/3] NetworkPkg: Add HTTP utilities driver

2015-08-21 Thread Wu, Jiaxin
Thanks Ting, I will create another patch for HttpDxe to consume HttpUtilitiesProtocol. /Jiaxin -Original Message- From: Ye, Ting Sent: Friday, August 21, 2015 1:55 PM To: Wu, Jiaxin; edk2-devel@lists.01.org Cc: Fu, Siyuan Subject: RE: [Patch 2/3] NetworkPkg: Add HTTP utilities driver I