[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix incorrect code to clear VTd error

2018-06-05 Thread Star Zeng
Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c b/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/VtdReg.c index 8dbc83fa2d67..e564d373c756 100644

[edk2] [PATCH] MdeModulePkg SataControllerDxe: Use compare logic in if condition

2018-07-02 Thread Star Zeng
Use compare logic in if condition to fix ECC issue. It is caused by aa4240edff41034d709938a15b42cf4fd3214386. Cc: Hao Wu Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.c | 2 +- 1 file

[edk2] [PATCH] MdeModulePkg Variable: Add/Correct GetHobVariableStore para description

2018-07-02 Thread Star Zeng
It is caused by 09808bd39b0c76559354253639766458ec24da79. Cc: Liming Gao Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c| 3 +++ MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2

[edk2] [PATCH 1/2] MdeModulePkg UsbBusDxe: Fix wrong buffer length used to read hub desc

2018-06-25 Thread Star Zeng
: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c | 96 +++-- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.h | 14 + 2 files changed, 32 insertions(+), 78 deletions(-) diff --git a/MdeMod

[edk2] [PATCH 0/2] UsbBus: Fix wrong buffer length used to read hub desc

2018-06-25 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=973 Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Bret Barkelew Star Zeng (2): MdeModulePkg UsbBusDxe: Fix wrong buffer length used to read hub desc MdeModulePkg UsbBusPei: Fix wrong buffer length used to read hub desc MdeModulePkg/Bus/Usb/UsbBusDxe

[edk2] [PATCH 2/2] MdeModulePkg UsbBusPei: Fix wrong buffer length used to read hub desc

2018-06-25 Thread Star Zeng
a. Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.c | 108 ++- MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h | 4 +- 2 files changed, 38 inse

[edk2] [PATCH] MdeModulePkg CapsuleApp: Check Buffer against NULL before freeing it

2018-05-03 Thread Star Zeng
If the capsule from command line is not present, Buffer will be random value when freeing it in DumpCapsule(), then ASSERT will happen or other memory pool may be freed. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng &

[edk2] [PATCH] IntelSiliconPkg IntelVTdPmrPei: Refine comments about PHMR/PLMR.Limit

2018-01-16 Thread Star Zeng
According to VTd spec, the real hardware decoded limit should be PHMR/PLMR.Limit value + alignment value. "Bits N:0 of the limit register are decoded by hardware as all 1s." Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-o

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Remove mVtdHostAddressWidthMask

2018-01-16 Thread Star Zeng
mVtdHostAddressWidthMask is not been used at all, its definition and related code could be removed. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd

[edk2] [PATCH] MdePkg Smbios.h: Update spec version info to 3.1.1

2018-01-21 Thread Star Zeng
It was missed to be updated at SHA-1: 043026ac12c29703bb7e3c19b9ae5e8177bb554b. Cc: Liming Gao <liming@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> -

[edk2] [PATCH] MdeModulePkg: Update package version

2018-01-21 Thread Star Zeng
Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 4 ++-- MdeModulePkg/MdeModulePkg.dsc | 4 ++-- 2 files changed,

[edk2] [PATCH] IntelSiliconPkg IntelVTdPmrPei: Install IoMmu PPI before enabling PMR

2018-01-22 Thread Star Zeng
Then the consumer of IoMmu PPI has opportunity to get granted DMA buffer (by callback) to replace old buffer before it is forbidden by enabling PMR. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@

[edk2] [PATCH] IntelSiliconPkg IntelVTdPmrPei: Get high top by host address width

2018-01-16 Thread Star Zeng
Get high top by host address width instead of resource HOB. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Feature/VTd/IntelVTdPmrPei/DmarTable.c | 4 +- .../Feature/VTd/In

[edk2] [PATCH] MdeModulePkg/LockboxNullLib: clean up INF file.

2018-01-16 Thread Star Zeng
From: Jiewen Yao <jiewen@intel.com> Remove unused module type restriction for NULL instance. Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Star Zeng &l

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Fix potential NULL pointer dereference

2018-01-14 Thread Star Zeng
com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAc

[edk2] [PATCH] MdeModulePkg PiSmmCore: Set ForwardLink to NULL in RemoveOldEntry()

2018-01-24 Thread Star Zeng
ilList ([mMapDepth].Link, >Link);" in following calling to CoreFreeMemoryMapStack() will fail as the entry at mMapStack[mMapDepth] actually has been removed from the list. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star

[edk2] [PATCH] UefiCpuPkg PiSmmCpuDxeSmm: Fixed #double fault on #page fault for IA32

2018-01-11 Thread Star Zeng
if StackGuard is enabled on IA32. Cc: Jiewen Yao <jiewen@intel.com> Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Z

[edk2] [PATCH] UefiCpuPkg PiSmmCpuDxeSmm: Remove redundant code to set IDT range to RO

2018-01-12 Thread Star Zeng
l.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 9 - 1 file changed, 4 insertions(

[edk2] [PATCH] IntelSiliconPkg PlatformVTdSampleDxe: State it is only for dev/debug

2018-02-05 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Feature/VTd/PlatformVTdSampleDxe/PlatformVTdSampleDxe.c | 5

[edk2] [PATCH] SourceLevelDebugPkg DebugUsb3: Check mUsb3Instance before dereferencing it

2018-02-08 Thread Star Zeng
Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c| 2 +- 1 file changed, 1 insert

[edk2] [PATCH] SourceLevelDebugPkg DebugUsb3: Fix GCC build failures

2018-02-08 Thread Star Zeng
Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 2 -- .../DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c | 4 +--

[edk2] [PATCH 1/3] IntelSiliconPkg IntelVTdPmrPei: Install IoMmu PPI before enabling PMR

2018-02-06 Thread Star Zeng
Then the consumer of IoMmu PPI has opportunity to get granted DMA buffer (by callback) to replace old buffer before it is forbidden by enabling PMR. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@

[edk2] [PATCH 0/3] Minor enhancements to IOMMU PPI

2018-02-06 Thread Star Zeng
Please check details in the patches. Cc: Jiewen Yao <jiewen@intel.com> Star Zeng (3): IntelSiliconPkg IntelVTdPmrPei: Install IoMmu PPI before enabling PMR MdeModulePkg Ppi/IoMmu.h: Add EFI_NOT_AVAILABLE_YET return status code IntelSiliconPkg IntelVTdPmrPei: Install IOMMU PPI f

[edk2] [PATCH 3/3] IntelSiliconPkg IntelVTdPmrPei: Install IOMMU PPI for pre-memory phase

2018-02-06 Thread Star Zeng
Install IOMMU PPI for pre-memory phase and return EFI_NOT_AVAILABLE_YET to indicate that DMA protection has been enabled, but DMA buffer are not available to be allocated yet. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sta

[edk2] [PATCH 2/3] MdeModulePkg Ppi/IoMmu.h: Add EFI_NOT_AVAILABLE_YET return status code

2018-02-06 Thread Star Zeng
Install IOMMU PPI for pre-memory phase and return EFI_NOT_AVAILABLE_YET to indicate that DMA protection has been enabled, but DMA buffer are not available to be allocated yet. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sta

[edk2] [PATCH] SourceLevelDebugPkg DebugAgentLib: Rename IsBsp to DebugAgentIsBsp

2018-02-06 Thread Star Zeng
For avoiding function name confliction, rename IsBsp to DebugAgentIsBsp. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- SourceLevelDebugPkg/

[edk2] [PATCH] SourceLevelDebugPkg DebugUsb3: Support IOMMU

2018-02-06 Thread Star Zeng
For PEI, allocate granted DMA buffer from IOMMU PPI. For DXE, map DMA buffer by PciIo. Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng &l

[edk2] [PATCH] MdeModulePkg SmmLockBox: Return updated Length for EFI_BUFFER_TOO_SMALL

2018-02-24 Thread Star Zeng
The updated Length value should be returned for EFI_BUFFER_TOO_SMALL case. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | 5 +

[edk2] [PATCH] MdeModulePkg VarCheckPcd: Make sure the bin at required alignment

2017-12-29 Thread Star Zeng
returned from AllocateXXXPool(). Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLibNullClass.c

[edk2] [PATCH] MdeModulePkg VarCheckHii: Make sure the bin at required alignment

2017-12-29 Thread Star Zeng
returned from AllocateXXXPool(). Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 4

[edk2] [PATCH] UefiCpuPkg CpuExceptionHandlerLib: Enhance DumpModuleImageInfo()

2017-12-27 Thread Star Zeng
and UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Librar

[edk2] [PATCH] IntelSiliconPkg MicrocodeUpdateDxe: Fix (ExtendedTableLength & 0x3)!=0

2017-12-20 Thread Star Zeng
ould be (ExtendedTableLength & 0x3)==0. Cc: Jiewen Yao <jiewen@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaga...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/Capsule/MicrocodeUpdat

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Support early SetAttributes()

2018-01-03 Thread Star Zeng
Support early SetAttributes() before DMAR table is installed. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- .../Feature/VTd/IntelVTdDxe/DmaProtection.c

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Use TPL to protect list/engine operation

2018-01-03 Thread Star Zeng
Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/BmDma.c| 19 ++--- .../Feature/VTd/IntelVTdDxe/DmaProtection.c| 8 +++--- ...

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Signal AcpiNotificationFunc() initially

2018-01-03 Thread Star Zeng
Signal AcpiNotificationFunc() initially for the case that DMAR table has been installed when creating event. Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelSiliconPkg/Feature/VTd

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg: Remove DisplayUpdateProgressLib mapping for FmpDxe

2018-07-27 Thread Star Zeng
FmpDxe does not consume DisplayUpdateProgressLib, so remove the mapping in FmpDevicePkg.dsc. Also rename the ESRT GUIDs. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.dsc | 14 +- 1 file changed

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Check ImageIndex first before Image/ImageSize

2018-07-27 Thread Star Zeng
It does not make sense to check the Image/ImageSize if ImageIndex has been invalid. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Add NULL check to return Value from GetVariable2

2018-07-27 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/VariableSupport.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FmpDevicePkg/FmpDxe/VariableSupport.c b/FmpDevicePkg/FmpDxe

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Add comment in mFmpDeviceLocked's declaration

2018-07-27 Thread Star Zeng
Add comment in mFmpDeviceLocked's declaration to make it more clear. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 4 1 file changed, 4 insertions(+) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b

[edk2] [staging/FmpDevicePkg-master][PATCH V2] FmpDevicePkg FmpDxe: Add comment in mFmpDeviceLocked's declaration

2018-07-28 Thread Star Zeng
Add comment in mFmpDeviceLocked's declaration to make it more clear. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b

[edk2] [PATCH] SignedCapsulePkg SystemFirmwareReportDxe: Try LocateProtocol

2018-07-30 Thread Star Zeng
Try LocateProtocol after HandleProtocol fails to be compatible with old SystemFirmwareUpdateDxe. Cc: Michael D Kinney Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../SystemFirmwareUpdate/SystemFirmwareReportDxe.c | 29

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Use local variable to store test key digest size

2018-07-30 Thread Star Zeng
Some static tool reports "the condition in 'if' statement is constant". This patch updates the code to use local variable to store test key digest size. It can pass the static tool's check. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH] FmpDevicePkg FmpDxe: Initialize DeviceLibLowestSupportedVersion

2018-07-29 Thread Star Zeng
initialize DeviceLibLowestSupportedVersion to DEFAULT_LOWESTSUPPORTEDVERSION before calling FmpDeviceGetLowestSupportedVersion(). It can pass the static tool's check. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/Fm

[edk2] [PATCH] MdeModulePkg DxeCapsuleLibFmp: Fix typo "EsrtSyncFmp" to "SyncEsrtFmp"

2018-07-27 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Fix typo "EFI_SECURITY_VIOLATIO"

2018-07-27 Thread Star Zeng
Fix typo "EFI_SECURITY_VIOLATIO" to "EFI_SECURITY_VIOLATION". Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[edk2] [PATCH] MdeModulePkg DxeCapsuleLibFmp: Refine the code to check FmpImageSize.

2018-07-26 Thread Star Zeng
The code to check FmpImageSize again OFFSET_OF (EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER, UpdateHardwareInstance) can be refined to check against FmpImageHeaderSize. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library

[edk2] [PATCH 5/5] MdeModulePkg CapsuleApp: Prompt info for -C option

2018-07-25 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 10 ++ MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 2 +- 2 files changed, 7 insertions

[edk2] [PATCH 3/5] MdeModulePkg CapsuleApp: Refine -N option help information

2018-07-25 Thread Star Zeng
-N option is used to append a Capsule Header to an existing FMP capsule image with its ImageTypeId supported by the system. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application

[edk2] [PATCH 4/5] MdeModulePkg CapsuleApp: Index need be decimal for -P GET option

2018-07-25 Thread Star Zeng
Also adjust the help information to be not too long to be suitable for different display resolutions. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

[edk2] [PATCH 2/5] MdeModulePkg CapsuleApp: Fix -D failed to dump Nest FMP capsule

2018-07-25 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 1/5] MdeModulePkg CapsuleApp: Fix VS2012 build failure caused by 5410502

2018-07-25 Thread Star Zeng
identifier 'ImageIndex' xxx\CapsuleApp.c(869) : error C2065: 'ImageIndex' : undeclared identifier Cc: Jiewen Yao Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 20 ++-- 1 file changed

[edk2] [PATCH 0/5] CapsuleApp: Some enhancements

2018-07-25 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (5): MdeModulePkg CapsuleApp: Fix VS2012 build failure caused by 5410502 MdeModulePkg CapsuleApp: Fix -D failed to dump Nest FMP capsule MdeModulePkg CapsuleApp: Refine -N option help information MdeModulePkg CapsuleApp

[edk2] [PATCH 0/5] CapsuleApp: Some enhancements

2018-07-26 Thread Star Zeng
V2: Last patch is new added. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (6): MdeModulePkg CapsuleApp: Fix VS2012 build failure caused by 5410502 MdeModulePkg CapsuleApp: Fix -D failed to dump Nest FMP capsule MdeModulePkg CapsuleApp: Refine -N option help information

[edk2] [PATCH 3/6] MdeModulePkg CapsuleApp: Refine -N option help information

2018-07-26 Thread Star Zeng
-N option is used to append a Capsule Header to an existing FMP capsule image with its ImageTypeId supported by the system. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application

[edk2] [PATCH 4/6] MdeModulePkg CapsuleApp: Index need be decimal for -P GET option

2018-07-26 Thread Star Zeng
Also adjust the help information to be not too long to be suitable for different display resolutions. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

[edk2] [PATCH 6/6] MdeModulePkg CapsuleApp: Check capsule header for -D and -N options

2018-07-26 Thread Star Zeng
Then meaningful error message can be shown when the input image is unexpected. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 101

[edk2] [PATCH 5/6] MdeModulePkg CapsuleApp: Prompt info for -C option

2018-07-26 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 17 + MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 2 +- 2 files changed, 14

[edk2] [PATCH 1/6] MdeModulePkg CapsuleApp: Fix VS2012 build failure caused by 5410502

2018-07-26 Thread Star Zeng
identifier 'ImageIndex' xxx\CapsuleApp.c(869) : error C2065: 'ImageIndex' : undeclared identifier Cc: Jiewen Yao Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 20 ++-- 1 file changed

[edk2] [PATCH 2/6] MdeModulePkg CapsuleApp: Fix -D failed to dump Nest FMP capsule

2018-07-26 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH] FmpDevicePkg: Remove useless lib mapping in dsc

2018-08-01 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng NOTE: This patch is based on thread https://lists.01.org/pipermail/edk2-devel/2018-July/027810.html. --- FmpDevicePkg/FmpDevicePkg.dsc | 34 -- 1 file changed

[edk2] [PATCH] FmpDevicePkg FmpDxe: Fix XCODE build failure

2018-08-01 Thread Star Zeng
FmpDxe.c:517:18: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng NOTE: This patch is based on thread https://lists.01.org/pipermail/edk2-devel/2018-July

[edk2] [PATCH] MdeModulePkg DxeCapsuleLibFmp: Add NULL check to the return buffers

2018-08-01 Thread Star Zeng
Add NULL check to the return buffers from GetFmpHandleBufferByType(). Cc: Jiewen Yao Cc: Hao A Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[edk2] [staging/FmpDevicePkg-master][PATCH V2] FmpDevicePkg FmpDxe: Initialize DeviceLibLowestSupportedVersion

2018-07-30 Thread Star Zeng
initialize DeviceLibLowestSupportedVersion to DEFAULT_LOWESTSUPPORTEDVERSION before calling FmpDeviceGetLowestSupportedVersion(). It can pass the static tool's check. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.

[edk2] [PATCH] MdeModulePkg DxeCapsuleLibFmp: Free HandleBuffer after it is used

2018-07-30 Thread Star Zeng
Cc: Jiewen Yao Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b

[edk2] [PATCH] MdeModulePkg DxeCapsuleLib: Use Attr to know whether reset is required

2018-07-30 Thread Star Zeng
Current DxeCapsuleLibFmp always do reset for FMP capsule. Actually, the code should use Attributes from FMP descriptor to know whether reset is required or not. Cc: Jiewen Yao Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Library

[edk2] [PATCH] MdePkg FirmwareManagement.h: Fix code style issue

2018-07-30 Thread Star Zeng
Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Cc: Hess Chen Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Protocol/FirmwareManagement.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg: Fix code style issue

2018-07-30 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.uni | 22 ++-- FmpDevicePkg/FmpDxe/DetectTestKey.c| 2 +- FmpDevicePkg/FmpDxe/FmpDxe.c | 42

[edk2] [PATCH] FmpDevicePkg FmpDxe: Lock variables in entrypoint instead of callback

2018-08-07 Thread Star Zeng
So the patch also moves the RegisterFmpInstaller/InstallFmpInstance calling to the end of entrypoint. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 96 ++-- 1 file chan

[edk2] [PATCH 0/2] Fix ESRT out of date

2018-08-06 Thread Star Zeng
Cc: Michael D Kinney Star Zeng (2): FmpDevicePkg FmpDxe: Need repopulate after SetImage is called MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event FmpDevicePkg/FmpDxe/FmpDxe.c| 21 +-- MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c | 239

[edk2] [PATCH 2/2] MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event

2018-08-06 Thread Star Zeng
is failed). This patches updates the code to create ESRT based on all FMP instances in ReadyToBoot event. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c | 239 1 file

[edk2] [PATCH 1/2] FmpDevicePkg FmpDxe: Need repopulate after SetImage is called

2018-08-06 Thread Star Zeng
No need repopulate if SetImage is not called. But need repopulate after SetImage is called to update LastAttemptVersion and LastAttemptStatus Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 21

[edk2] [PATCH] MdeModulePkg SmmLockBox: Return actual data length in SmmLockBoxRestore

2018-08-13 Thread Star Zeng
of return status as success as well. Cc: Jiewen Yao Cc: Anbazhagan Baraneedharan Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[edk2] [PATCH 1/2] MdePkg SmBios.h: Add SMBIOS 3.2.0 definitions

2018-08-21 Thread Star Zeng
Type 38): - SMBIOSCR00171: add SSIF Management Controller Host Interface (Type 42) - SMBIOSCR00175: fix structure data parsing issue Cc: Liming Gao Cc: Dandan Bi Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/I

[edk2] [PATCH 0/2] Add SMBIOS 3.2.0 definitions

2018-08-21 Thread Star Zeng
https://bugzilla.tianocore.org/show_bug.cgi?id=1099 This patch series updates 1. MdePkg/Include/IndustryStandard/Smbios.h 2. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion and gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev Star Zeng (2): MdePkg SmBios.h: Add SMBIOS 3.2.0 definitions

[edk2] [PATCH 2/2] MdeModulePkg: Update SMBIOS PCDs to 3.2.0

2018-08-21 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1099 Cc: Liming Gao Cc: Dandan Bi Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[edk2] [PATCH V2 0/2] Add SMBIOS 3.2.0 definitions

2018-08-22 Thread Star Zeng
in PATCH V2 1/2. Star Zeng (2): MdePkg SmBios.h: Add SMBIOS 3.2.0 definitions MdeModulePkg: Update SMBIOS PCDs to 3.2.0 MdeModulePkg/MdeModulePkg.dec| 4 +- MdePkg/Include/IndustryStandard/SmBios.h | 155 --- 2 files changed, 122 insertions(+), 37 deletions

[edk2] [PATCH V2 1/2] MdePkg SmBios.h: Add SMBIOS 3.2.0 definitions

2018-08-22 Thread Star Zeng
Type 38): - SMBIOSCR00171: add SSIF Management Controller Host Interface (Type 42) - SMBIOSCR00175: fix structure data parsing issue V2: Add missing update to MISC_PORT_TYPE and SMBIOS_TABLE_TYPE9. Cc: Liming Gao Cc: Dandan Bi Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agr

[edk2] [PATCH V2 2/2] MdeModulePkg: Update SMBIOS PCDs to 3.2.0

2018-08-22 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1099 Cc: Liming Gao Cc: Dandan Bi Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[edk2] [PATCH 1/2] MdeModulePkg PeiCore: Handle multiple FV images in one FV file

2018-08-29 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1131 PI spec and BaseTools supports to generate multiple FV images in one FV file. This patch is to update PeiCore to handle the case. Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star

[edk2] [PATCH 2/2] MdeModulePkg DxeCore: Handle multiple FV images in one FV file

2018-08-29 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1131 PI spec and BaseTools supports to generate multiple FV images in one FV file. This patch is to update DxeCore to handle the case. Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star

[edk2] [PATCH 0/2] Core: Handle multiple FV images in one FV file

2018-08-29 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1131 Star Zeng (2): MdeModulePkg PeiCore: Handle multiple FV images in one FV file MdeModulePkg DxeCore: Handle multiple FV images in one FV file MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 241 --- MdeModulePkg

[edk2] [PATCH] Maintainers.txt: Update maintainer of MdeModulePkg

2018-08-27 Thread Star Zeng
Add Jian J Wang and remove Eric Dong . Eric is focusing on UefiCpuPkg. Cc: Jian J Wang Cc: Eric Dong Cc: Michael D Kinney Cc: Laszlo Ersek Cc: Andrew Fish Cc: Leif Lindholm Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Maintainers.txt | 2 +- 1 file

[edk2] [edk2-wiki PATCH] release planning: Add "SMBIOS 3.2.0 support" in Proposed Features

2018-08-23 Thread Star Zeng
Cc: Michael D Kinney Cc: Laszlo Ersek Cc: Andrew Fish Cc: Leif Lindholm Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- EDK-II-Release-Planning.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EDK-II-Release-Planning.md b/EDK-II

[edk2] [staging/FmpDevicePkg-master][PATCH 0/2] Remove PcdFmpDeviceSystemResetRequired

2018-07-20 Thread Star Zeng
Cc: Michael D Kinney Star Zeng (2): Remove PcdFmpDeviceSystemResetRequired from platform and Readme FmpDevicePkg FmpDxe: Use Attributes to know whether reset is required FmpDevicePkg/FmpDevicePkg.dec | 7 --- FmpDevicePkg/FmpDevicePkg.uni | 5

[edk2] [staging/FmpDevicePkg-master][PATCH 2/2] FmpDevicePkg FmpDxe: Use Attributes to know whether reset is required

2018-07-20 Thread Star Zeng
Use Attributes to know whether reset is required and remove PcdFmpDeviceSystemResetRequired. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.dec | 7 --- FmpDevicePkg/FmpDevicePkg.uni | 5

[edk2] [staging/FmpDevicePkg-master][PATCH 1/2] Remove PcdFmpDeviceSystemResetRequired from platform and Readme

2018-07-20 Thread Star Zeng
FmpDxe will be updated to use Attributes to know whether reset is required and PcdFmpDeviceSystemResetRequired will be removed. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Readme.md | 3

[edk2] [staging/FmpDevicePkg-master][PATCH V2 1/2] Remove PcdFmpDeviceSystemResetRequired from platform and Readme

2018-07-20 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1040 FmpDxe will be updated to use Attributes to know whether reset is required and PcdFmpDeviceSystemResetRequired will be removed. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng

[edk2] [staging/FmpDevicePkg-master][PATCH V2 0/2] Remove PcdFmpDeviceSystemResetRequired

2018-07-20 Thread Star Zeng
Cc: Michael D Kinney Star Zeng (2): Remove PcdFmpDeviceSystemResetRequired from platform and Readme FmpDevicePkg FmpDxe: Use Attributes to know whether reset is required FmpDevicePkg/FmpDevicePkg.dec | 7 --- FmpDevicePkg/FmpDevicePkg.uni | 5

[edk2] [staging/FmpDevicePkg-master][PATCH V2 2/2] FmpDevicePkg FmpDxe: Use Attributes to know whether reset is required

2018-07-20 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1040 Use Attributes to know whether reset is required and remove PcdFmpDeviceSystemResetRequired. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.dec | 7

[edk2] [PATCH] FmpDevicePkg: Remove IPF

2018-07-20 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.dsc | 2 +- FmpDevicePkg/FmpDxe/FmpDxe.inf | 2 +- FmpDevicePkg/FmpDxe

[edk2] [staging/FmpDevicePkg-master][PATCH] BaseTools GenerateCapsule: Change property to executable for Linux

2018-07-16 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- BaseTools/BinWrappers/PosixLike/GenerateCapsule | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 BaseTools/BinWrappers/PosixLike/GenerateCapsule d

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Return 0 when LSV check is not required

2018-07-19 Thread Star Zeng
: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c index c0c1383723fb..d6b599ee1a56 100644 --- a/FmpDevicePkg

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Update function comment for FmpDxeEntryPoint

2018-07-19 Thread Star Zeng
FmpDxeEntryPoint is used by both FmpDxe and FmpDxeLib. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Add EFI_ABORTED in retval of CheckTheImage()

2018-07-25 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c index f0e8b0da823a..69b6cb7d4c0d 100644

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg FmpDxe: Check Progress!= NULL before calling Progress(100)

2018-07-25 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDxe/FmpDxe.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c index 091f950b95b2

[edk2] [staging/FmpDevicePkg-master][PATCH] FmpDevicePkg: Add DISABLE_NEW_DEPRECATED_INTERFACES build options

2018-07-25 Thread Star Zeng
Add DISABLE_NEW_DEPRECATED_INTERFACES build options to make sure no deprecated interface used in this package. Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- FmpDevicePkg/FmpDevicePkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff

[edk2] [PATCH] MdeModulePkg: Remove trailing white space

2018-09-04 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1144 Cc: Dandan Bi Cc: Liming Gao Cc: Jian J Wang Cc: Siyuan Fu Cc: Jiaxin Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/Ppi/Ppi.c| 4 +-- MdeModulePkg

[edk2] [PATCH] MdeModulePkg XhciDxe: Set HSEE Bit if SERR# Enable Bit is set

2018-09-10 Thread Star Zeng
if PCICMD SERR# Enable Bit is set. Cc: Ruiyu Ni Cc: Jian J Wang Cc: Fei1 Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.c | 41 ++ 1 file changed, 41 insertions(+) diff --git

[edk2] [PATCH 5/6] ShellPkg DpDynamicCommand: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
DpDynamicCommand to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- ShellPkg/DynamicCommand

[edk2] [PATCH 4/6] PcAtChipsetPkg PcRtc: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
PcatRealTimeClockRuntimeDxe to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- PcAtChipsetPkg

<    1   2   3   4   5   6   7   8   9   >