[edk2] [PATCH 1/6] MdePkg UefiLib: Add new EfiFindAcpiTableBySignature() API

2018-08-31 Thread Star Zeng
EfiFindAcpiTableBySignature() API in UefiLib for the request and also the following patch to remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Library

[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

[edk2] [PATCH 3/6] MdeModulePkg S3SaveStateDxe: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
S3SaveStateDxe to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c

[edk2] [PATCH 2/6] IntelSiliconPkg IntelVTdDxe: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
IntelVTdDxe to use new EfiFindAcpiTableBySignature() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c| 136

[edk2] [PATCH 6/6] UefiCpuPkg PiSmmCpuDxeSmm: Use new EfiFindAcpiTableBySignature()

2018-08-31 Thread Star Zeng
PiSmmCpuDxeSmm 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: Eric Dong Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- UefiCpuPkg

[edk2] [PATCH] MdeModulePkg PeiCore: Fix VS2012 build failure

2018-09-03 Thread Star Zeng
Cc: Liming Gao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index 7e

[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
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 a

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Optimize when func 0 is not implemented

2018-09-12 Thread Star Zeng
g Cc: Amy Chan Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/PciInfo.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/PciInfo.c b/IntelSiliconPkg/F

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Check HeaderType if func 0 is implemented

2018-09-12 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/PciInfo.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/PciInfo.c b/IntelSiliconPkg/Feature

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

2018-09-13 Thread Star Zeng
PcatRealTimeClockRuntimeDxe to use new EfiLocateFirstAcpiTable() 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

[edk2] [PATCH V2 2/6] IntelSiliconPkg IntelVTdDxe: Use new EfiLocateFirstAcpiTable()

2018-09-13 Thread Star Zeng
IntelVTdDxe to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c| 136

[edk2] [PATCH V2 3/6] MdeModulePkg S3SaveStateDxe: Use new EfiLocateFirstAcpiTable()

2018-09-13 Thread Star Zeng
S3SaveStateDxe to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c

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

2018-09-13 Thread Star Zeng
DpDynamicCommand to use new EfiLocateFirstAcpiTable() 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 V2 1/6] MdePkg UefiLib: Add new EfiLocateXXXAcpiTable() APIs

2018-09-13 Thread Star Zeng
EfiLocateXXXAcpiTable() APIs in UefiLib for the request and also the following patch to remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Library/UefiLib.h

[edk2] [PATCH V2 0/6] Add new EfiLocateXXXAcpiTable() APIs

2018-09-13 Thread Star Zeng
EfiLocateXXXAcpiTable() API in UefiLib for the request and removing the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Cc: Ruiyu Ni Cc: Dandan Bi Cc: Eric Dong Cc: Laszlo Ersek Star Zeng (6): MdePkg UefiLib: Add new EfiLocateXXXAcpiTable

[edk2] [PATCH V2 6/6] UefiCpuPkg PiSmmCpuDxeSmm: Use new EfiLocateFirstAcpiTable()

2018-09-13 Thread Star Zeng
PiSmmCpuDxeSmm to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Eric Dong Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- UefiCpuPkg

[edk2] [PATCH V3 1/6] MdePkg UefiLib: Add new EfiLocateXXXAcpiTable() APIs

2018-09-17 Thread Star Zeng
EfiLocateXXXAcpiTable() APIs in UefiLib for the request and also the following patch to remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Library/UefiLib.h

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

2018-09-17 Thread Star Zeng
PcatRealTimeClockRuntimeDxe to use new EfiLocateFirstAcpiTable() 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

[edk2] [PATCH V3 3/6] MdeModulePkg S3SaveStateDxe: Use new EfiLocateFirstAcpiTable()

2018-09-17 Thread Star Zeng
S3SaveStateDxe to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c

[edk2] [PATCH V3 2/6] IntelSiliconPkg IntelVTdDxe: Use new EfiLocateFirstAcpiTable()

2018-09-17 Thread Star Zeng
IntelVTdDxe to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c| 136

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

2018-09-17 Thread Star Zeng
DpDynamicCommand to use new EfiLocateFirstAcpiTable() 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 Reviewed-by: Ruiyu Ni --- ShellPkg

[edk2] [PATCH V3 0/6] Add new EfiLocateXXXAcpiTable() APIs

2018-09-17 Thread Star Zeng
i Cc: Dandan Bi Cc: Eric Dong Cc: Laszlo Ersek Star Zeng (6): MdePkg UefiLib: Add new EfiLocateXXXAcpiTable() APIs IntelSiliconPkg IntelVTdDxe: Use new EfiLocateFirstAcpiTable() MdeModulePkg S3SaveStateDxe: Use new EfiLocateFirstAcpiTable() PcAtChipsetPkg PcRtc: Use new EfiLocateFirstAcpi

[edk2] [PATCH V3 6/6] UefiCpuPkg PiSmmCpuDxeSmm: Use new EfiLocateFirstAcpiTable()

2018-09-17 Thread Star Zeng
PiSmmCpuDxeSmm to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Eric Dong Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Eric Dong

[edk2] [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add new EfiLocateXXXAcpiTable APIs

2018-09-18 Thread Star Zeng
Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelFrameworkPkg/Library/FrameworkUefiLib/Acpi.c | 428 + .../Library/FrameworkUefiLib/FrameworkUefiLib.inf | 3 + 2 files changed, 431 insertions(+) create mode 100644

[edk2] [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add missing lib and GUID reference

2018-09-18 Thread Star Zeng
, but when I was trying linking this library with a driver, there will be build failure. This patch adds the missing UefiRuntimeServicesTableLib and gEfiGlobalVariableGuid in inf. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelFrameworkPkg

[edk2] [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add new EfiLocateXXXAcpiTable APIs

2018-09-18 Thread Star Zeng
for the new APIs as the IntelFrameworkPkg is a to-be-deprecated packages. Cc: Younas khan Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --- IntelFrameworkPkg/Library/FrameworkUefiLib

[edk2] [PATCH 0/2] UefiLib: Free HandleBuffer for error path in EfiLocateProtocolBuffer().

2018-06-04 Thread Star Zeng
Cc: Michael D Kinney Cc: Liming Gao Star Zeng (2): MdePkg UefiLib: Fix in EfiLocateProtocolBuffer() IntelFrameworkPkg FrameworkUefiLib: Fix in EfiLocateProtocolBuffer() IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c | 4 MdePkg/Library/UefiLib/UefiLib.c | 4

[edk2] [PATCH 1/2] MdePkg UefiLib: Fix in EfiLocateProtocolBuffer()

2018-06-04 Thread Star Zeng
Free HandleBuffer for error path in EfiLocateProtocolBuffer(). Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Library/UefiLib/UefiLib.c | 4 1 file changed, 4 insertions(+) diff --git a/MdePkg/Library

[edk2] [PATCH 2/2] IntelFrameworkPkg FrameworkUefiLib: Fix in EfiLocateProtocolBuffer()

2018-06-04 Thread Star Zeng
Free HandleBuffer for error path in EfiLocateProtocolBuffer(). Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c | 4 1 file changed, 4 insertions(+) diff --git a

[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 --- a

[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 PeiCore: Not assume PpiDescriptor and Ppi in same range

2018-06-28 Thread Star Zeng
: Star Zeng --- MdeModulePkg/Core/Pei/Ppi/Ppi.c | 204 ++-- 1 file changed, 115 insertions(+), 89 deletions(-) diff --git a/MdeModulePkg/Core/Pei/Ppi/Ppi.c b/MdeModulePkg/Core/Pei/Ppi/Ppi.c index 139cfeda0575..d8ba2dd42b59 100644 --- a/MdeModulePkg/Core/Pei/Ppi

[edk2] [PATCH] MdeModulePkg SataControllerDxe: Calculate ChannelCount based on PI value

2018-06-28 Thread Star Zeng
ore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Bus/Pci/SataControllerDxe/SataController.c | 28 ++ .../Bus/Pci/SataControllerDxe/SataController.h | 1 + 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/SataController

[edk2] [PATCH 2/2] MdeModulePkg Variable: Make sure no more than one Variable HOB

2018-06-28 Thread Star Zeng
VariableHob may be built in PcdPeim (by PcdNvStoreDefaultValueBuffer) or some platform module (by some tool). The two solutions should not be co-exist. Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg

[edk2] [PATCH 1/2] MdeModulePkg Variable: Abstract GetHobVariableStore function

2018-06-28 Thread Star Zeng
Move getting HOB variable store code logic to a separated GetHobVariableStore function. Cc: Liming Gao Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 40

[edk2] [PATCH 0/2] Variable: Make sure no more than one Variable HOB

2018-06-28 Thread Star Zeng
Star Zeng (2): MdeModulePkg Variable: Abstract GetHobVariableStore function MdeModulePkg Variable: Make sure no more than one Variable HOB MdeModulePkg/Universal/Variable/Pei/Variable.c | 64 --- .../Universal/Variable/RuntimeDxe/Variable.c | 117 +++-- 2

[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] 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 0/2] Capsule: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Star Zeng (2): MdeModulePkg DxeCapsuleLibFmp: Fix typo 'Press' to 'Process' SignedCapsulePkg RecoveryModuleLoadPei: Fix typo 'Press' to 'Process' MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib

[edk2] [PATCH 2/2] SignedCapsulePkg RecoveryModuleLoadPei: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[edk2] [PATCH 1/2] MdeModulePkg DxeCapsuleLibFmp: Fix typo 'Press' to 'Process'

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao 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

[edk2] [PATCH] MdeModulePkg CapsuleApp: Fix NestedCapsuleHeader->Flags assigned wrong

2018-07-10 Thread Star Zeng
(FwType == ESRT_FW_TYPE_DEVICEFIRMWARE) ? system : device should be (FwType == ESRT_FW_TYPE_SYSTEMFIRMWARE) ? system : device Cc: Michael D Kinney Cc: Jiewen Yao Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Application

[edk2] [PATCH 1/3] MdeModulePkg CapsuleApp: Check Arg count for -D option

2018-07-10 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 | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c

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

2018-07-10 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (3): MdeModulePkg CapsuleApp: Check Arg count for -D option MdeModulePkg CapsuleApp: Refine -D option help information MdeModulePkg CapsuleApp: Fix typo EFI_CAPSULE_RPORT_GUID MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 2/3] MdeModulePkg CapsuleApp: Refine -D option help information

2018-07-10 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Application

[edk2] [PATCH 3/3] MdeModulePkg CapsuleApp: Fix typo EFI_CAPSULE_RPORT_GUID

2018-07-10 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Application/CapsuleApp

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

2018-07-13 Thread Star Zeng
Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Star Zeng (6): MdeModulePkg CapsuleApp: Check Arg count for -P GET option MdeModulePkg CapsuleApp: Fix memory leak in DumpFmpImage() MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT MdeModulePkg CapsuleApp: Show

[edk2] [PATCH 1/6] MdeModulePkg CapsuleApp: Check Arg count for -P GET option

2018-07-13 Thread Star Zeng
Also add help info for CapsuleApp -P GET option. 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 | 19 +++ 1 file changed, 15 insertions

[edk2] [PATCH 2/6] MdeModulePkg CapsuleApp: Fix memory leak in DumpFmpImage()

2018-07-13 Thread Star Zeng
Image buffer should be freed after using. 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, 2 insertions(+) diff --git a

[edk2] [PATCH 5/6] MdeModulePkg CapsuleApp: Check capsule header before using its Flags

2018-07-13 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 | 38 1 file changed, 38 insertions(+) diff --git a/MdeModulePkg/Application

[edk2] [PATCH 3/6] MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT

2018-07-13 Thread Star Zeng
. CapsuleFlags The capsule flags field contains the CapsuleGuid flags (bits 0-15) as defined in the EFI_CAPSULE_HEADER that will be set in the capsule header. Cc: Michael D Kinney Cc: Jiewen Yao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng

[edk2] [PATCH 4/6] MdeModulePkg CapsuleApp: Show clear message when option is unrecognized

2018-07-13 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 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MdeModulePkg/Application/CapsuleApp

[edk2] [PATCH 6/6] MdeModulePkg CapsuleApp: Use EFI_UNSUPPORTED for incorrect Argc case

2018-07-13 Thread Star Zeng
Align code to use EFI_UNSUPPORTED for all incorrect Argc cases. 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 | 15 --- 1 file changed, 8

[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: 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: 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 1/2] Remove PcdFmpDeviceSystemResetRequired from platform and Readme

2018-07-19 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 0/2] Remove PcdFmpDeviceSystemResetRequired

2018-07-19 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-19 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 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] [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] [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] [PATCH 0/2] DP: Use Image->FilePath to get name for SMM drivers

2016-01-17 Thread Star Zeng
, so DP was displaying "Unknown Driver Name" for every SMM driver. Star Zeng (2): PerformancePkg Dp_App: Use Image->FilePath to get name for SMM drivers ShellPkg UefiDpLib: Use Image->FilePath to get name for SMM drivers PerformancePkg/Dp_App/DpUtilities.c | 13 +++

[edk2] [PATCH 2/2] ShellPkg UefiDpLib: Use Image->FilePath to get name for SMM drivers

2016-01-17 Thread Star Zeng
, so DP was displaying "Unknown Driver Name" for every SMM driver. Cc: Liming Gao Cc: Jaben Carsey Cc: Shumin Qiu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- ShellPkg/Library/UefiDpLib/DpUtilities.c | 14 +++--- 1 file changed, 11 insert

[edk2] [PATCH 1/2] PerformancePkg Dp_App: Use Image->FilePath to get name for SMM drivers

2016-01-17 Thread Star Zeng
, so DP was displaying "Unknown Driver Name" for every SMM driver. Cc: Liming Gao Cc: Daryl McDaniel Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- PerformancePkg/Dp_App/DpUtilities.c | 13 ++--- 1 file changed, 10 insert

[edk2] [PATCH] MdeModulePkg DxeCore: Avoid the closed event to be signaled wrongly

2016-01-26 Thread Star Zeng
o Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Event/Event.c | 5 + 1 file changed, 5 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/Event/Event.c b/MdeModulePkg/Core/Dxe/Event/Event.c index 34b34ac..9792

[edk2] [PATCH V2] MdeModulePkg DxeCore: Avoid the closed event to be signaled wrongly

2016-01-26 Thread Star Zeng
o Cc: Feng Tian Cc: Thomas Palmer Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Event/Event.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/Dxe/Event/Event.c b/MdeModulePkg/Core/Dxe/Eve

[edk2] [PATCH 3/3] DuetPkg FSVariable: Minor update to the Data parameter for GetVariable()

2016-01-27 Thread Star Zeng
The buffer to return the contents of the variable. May be NULL with a zero DataSize in order to determine the size buffer needed. The patch is to follow the spec to update the implementation. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Sta

[edk2] [PATCH 2/3] MdeModulePkg Variable: Minor update to the Data parameter for GetVariable()

2016-01-27 Thread Star Zeng
The buffer to return the contents of the variable. May be NULL with a zero DataSize in order to determine the size buffer needed. The patch is to follow the spec to update the implementation. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Sta

[edk2] [PATCH 0/3] Minor update to the Data parameter for GetVariable()

2016-01-27 Thread Star Zeng
The buffer to return the contents of the variable. May be NULL with a zero DataSize in order to determine the size buffer needed. The patches are to follow the spec to update the definition and implementation. Star Zeng (3): MdePkg: Minor update to the Data parameter for GetVa

[edk2] [PATCH 1/3] MdePkg: Minor update to the Data parameter for GetVariable()

2016-01-27 Thread Star Zeng
The buffer to return the contents of the variable. May be NULL with a zero DataSize in order to determine the size buffer needed. The patch is to follow the spec to update the definition. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng ---

[edk2] [PATCH] MdeModulePkg: Minor comments update to GetNextHighMonotonicCount()

2016-01-27 Thread Star Zeng
unt (returned by GetNextMonoticCount()) overflows. Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.c| 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) d

[edk2] [PATCH] Maintainers.txt: Update maintainers for MdeModulePkg

2016-01-28 Thread Star Zeng
Cc: Feng Tian Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- Maintainers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Maintainers.txt b/Maintainers.txt index 0bd9c2f..86afbfb 100644 --- a/Maintainers.txt +++ b/Maintainers.txt

[edk2] [PATCH] MdeModulePkg DxeCore: Missing change for OEM reserved memory type at R17460

2016-01-29 Thread Star Zeng
: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Mem/Pool.c b/MdeModulePkg/Core/Dxe/Mem/Pool.c index e5fee1a..ad9a85f 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Pool.c +++ b/MdeModulePkg/Core/Dxe/Mem/Pool.c

[edk2] [PATCH 0/2] Minor comments update to AllocatePages() and AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePages() and AllocatePool(). Star Zeng (2): MdePkg: Minor comments update to AllocatePages() and AllocatePool() MdeModulePkg DxeCore: Minor comments update to AllocatePool() MdeModulePkg/Core/Dxe/Mem/Imem.h | 4 ++-- MdeModulePkg

[edk2] [PATCH V2 0/2] Minor comments update to AllocatePages() and AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePages() and AllocatePool(). Star Zeng (2): MdePkg: Minor comments update to AllocatePages() and AllocatePool() MdeModulePkg DxeCore: Minor comments update to AllocatePool() MdeModulePkg/Core/Dxe/Mem/Imem.h | 4 ++-- MdeModulePkg

[edk2] [PATCH V2 1/2] MdePkg: Minor comments update to AllocatePages() and AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePages() and AllocatePool(). Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Uefi/UefiSpec.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions

[edk2] [PATCH 2/2] MdeModulePkg DxeCore: Minor comments update to AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePool(). Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Imem.h | 4 ++-- MdeModulePkg/Core/Dxe/Mem/Pool.c | 7 +-- 2 files changed, 7

[edk2] [PATCH 1/2] MdePkg: Minor comments update to AllocatePages() and AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePages() and AllocatePool(). Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Uefi/UefiSpec.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff

[edk2] [PATCH V2 2/2] MdeModulePkg DxeCore: Minor comments update to AllocatePool()

2016-01-29 Thread Star Zeng
Follow UEFI 2.6 spec to minor update the comments of AllocatePool(). Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Imem.h | 4 ++-- MdeModulePkg/Core/Dxe/Mem/Pool.c | 9 ++--- 2 files changed, 8

[edk2] [PATCH] MdeModulePkg AcpiTableDxe: Don't uninstall Acpi Sdt Protocol at ReadyToLock

2016-03-03 Thread Star Zeng
Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c | 62 +- .../Universal/Acpi/AcpiTableDxe/AcpiTable.h| 3 +- .../Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf | 5 +- 3 files changed, 3 insertions(+), 67 deletions(-) diff --git a

[edk2] [PATCH] MdeModulePkg AcpiTableDxe: Use Rsdt to check against NULL

2016-03-06 Thread Star Zeng
Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c b

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: use gEfiAcpi10TableGuid for ACPI 1.0

2017-10-25 Thread Star Zeng
Agreement 1.1 Signed-off-by: Star Zeng --- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c | 2 +- IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c b

[edk2] [PATCH] MdeModulePkg SerialDxe: Handle Timeout change more robustly

2017-11-01 Thread Star Zeng
ke this patch to be more robust to handle Timeout change. Cc: Julien Grall Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/SerialDxe/SerialIo.c | 16 +++- 1 file changed, 15 insertions

[edk2] [PATCH] IntelSiliconPkg IntelVTdDxe: Use ACPI table event to get DMAR table

2017-11-02 Thread Star Zeng
Use ACPI table event to get DMAR table instead of using ACPI SDT notification as ACPI SDT is optional and the default value of PcdInstallAcpiSdtProtocol is FALSE in MdeModulePkg.dec. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Feature

[edk2] [PATCH] MdeModulePkg VarCheckHiiLib: Fix typo "0x02%x" to be "0x%02x"

2017-11-06 Thread Star Zeng
Cc: Dandan Bi Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Library/VarCheckHiiLib

[edk2] [PATCH V2] MdeModulePkg SerialDxe: Handle Timeout change more robustly

2017-11-06 Thread Star Zeng
ke this patch to be more robust to handle Timeout change. Cc: Julien Grall Cc: Laszlo Ersek Cc: Ruiyu Ni Compare against the original parameters Suggested-by: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng V2: Compare agains

[edk2] [PATCH] MdeModulePkg EhciPei: Support IoMmu

2017-11-15 Thread Star Zeng
Update the EhciPei driver to consume IOMMU_PPI to allocate DMA buffer. If no IOMMU_PPI exists, this driver still calls PEI service to allocate DMA buffer, with assumption that DRAM==DMA. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng

[edk2] [PATCH V2] MdeModulePkg EhciPei: Support IoMmu

2017-11-16 Thread Star Zeng
-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciPei/DmaMem.c| 250 +++ MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c | 40 - MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 119 ++- MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf | 6 +- MdeModulePkg/Bus/Pci/EhciPei

[edk2] [PATCH] MdeModulePkg XhciPei: Minor refinement about IoMmu

2017-11-16 Thread Star Zeng
1. Call IoMmuInit() after locating gPeiUsbControllerPpiGuid. 2. Call XhcPeiFreeSched() to do cleanup in XhcEndOfPei. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c | 6 -- 1 file changed, 4

[edk2] [PATCH] MdeModulePkg EhciPei: Also check Buf against NULL to return error

2017-11-19 Thread Star Zeng
Cc: Hao Wu Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciPei/EhciSched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhciSched.c b/MdeModulePkg/Bus/Pci/EhciPei

[edk2] [PATCH] MdeModulePkg UhciPei: Support IoMmu

2017-11-21 Thread Star Zeng
Update the UhciPei driver to consume IOMMU_PPI to allocate DMA buffer. If no IOMMU_PPI exists, this driver still calls PEI service to allocate DMA buffer, with assumption that DRAM==DMA. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng

[edk2] [PATCH] MdeModulePkg EhciPei: Minor refinement about IOMMU

2017-11-21 Thread Star Zeng
ement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 2 +- MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c | 13 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.

[edk2] [PATCH] Add NetworkPkg maintainer as MdeModulePkg/Universal/Network maintainer

2017-11-21 Thread Star Zeng
Cc: Siyuan Fu Cc: Jiaxin Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Maintainers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Maintainers.txt b/Maintainers.txt index 3930ff07a90d..ffb69c17fe2e 100644 --- a/Maintainers.txt +++ b

[edk2] [PATCH] MdeModulePkg UhciPei: Also check TempPtr against NULL to return error

2017-11-22 Thread Star Zeng
Cc: Hao Wu Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c b/MdeModulePkg/Bus/Pci/UhciPei

<    2   3   4   5   6   7   8   9   >