[edk2] [PATCH V2 1/4] MdeModulePkg XhciDxe: Extract new XhciInsertAsyncIntTransfer function

2018-10-25 Thread Star Zeng
nal change. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 18 + MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 65 Md

[edk2] [PATCH V2 2/4] MdeModulePkg EhciDxe: Extract new EhciInsertAsyncIntTransfer function

2018-10-25 Thread Star Zeng
u Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 25 +-- MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 77 MdeModulePkg/Bus/Pci/EhciDxe/Ehc

[edk2] [PATCH V2 4/4] MdeModulePkg EhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
us master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni --- MdeModulePkg/Bus/Pci

[edk2] [PATCH V2 0/4] Remove unnecessary Map/Unmap in XhciDxe/EhciDxe for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
Jiewen Yao Star Zeng (4): MdeModulePkg XhciDxe: Extract new XhciInsertAsyncIntTransfer function MdeModulePkg EhciDxe: Extract new EhciInsertAsyncIntTransfer function MdeModulePkg XhciDxe: Use common buffer for AsyncInterruptTransfer MdeModulePkg EhciDxe: Use common buffer for AsyncInterru

[edk2] [PATCH V2 3/4] MdeModulePkg XhciDxe: Use common buffer for AsyncInterruptTransfer

2018-10-25 Thread Star Zeng
us master's point of view. /// EfiPciIoOperationBusMasterCommonBuffer, Test done: USB KB works normally. USB disk read/write works normally. Cc: Ruiyu Ni Cc: Hao Wu Cc: Jian J Wang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni --- MdeModulePkg/Bus/Pci/

[edk2] [PATCH 0/2] Revert "EhciDxe/XhciDxe: Use common buffer for AsyncInterruptTransfer"

2018-11-06 Thread Star Zeng
: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Star Zeng (2): Revert "EhciDxe: Use common buffer for AsyncInterruptTransfer" Revert "XhciDxe: Use common buffer for AsyncInterruptTransfer" MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 3 - MdeModulePkg/Bus/Pci

[edk2] [PATCH 1/2] Revert "EhciDxe: Use common buffer for AsyncInterruptTransfer"

2018-11-06 Thread Star Zeng
Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 3 -- MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 78 +++- MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c | 38 ++-- MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h | 33 ++ 4 files changed

[edk2] [PATCH 2/2] Revert "XhciDxe: Use common buffer for AsyncInterruptTransfer"

2018-11-06 Thread Star Zeng
Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 1 - MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 138 --- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.h | 27 +++--- 3 files changed, 103 insertions(+), 63 deletions(-) diff --git a/MdeModulePkg/Bus/Pci

[edk2] [PATCH] ShellPkg ShellLib.h: Fix wrong parameter name for ShellOpenFileByName

2018-09-29 Thread Star Zeng
: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- ShellPkg/Include/Library/ShellLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h index

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

2018-09-03 Thread Star Zeng
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 7ea503a10fb5

[edk2] [PATCH] MdeModulePkg Variable: Fix comment typo 'end' to 'start'

2018-09-26 Thread Star Zeng
, but GetEndPointer does not. This patch also aligns GetEndPointer's function description for PEI and DXE. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c| 14

[edk2] [PATCH V3 06/17] MdeModulePkg Variable: Remove CacheOffset in UpdateVariable()

2019-01-15 Thread Star Zeng
memory copy of Flash region". This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu Reviewed-by: Jian

[edk2] [PATCH V3 02/17] MdeModulePkg Variable: Abstract InitRealNonVolatileVariableStore

2019-01-15 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu --- .../Universal/Variable/RuntimeDxe/Variable.c | 86 +++--- 1 file changed, 58 insertions(+), 28 deletions(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe

[edk2] [PATCH V3 05/17] MdeModulePkg Variable: Abstract VariableWriteServiceInitializeDxe/Smm

2019-01-15 Thread Star Zeng
. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu Reviewed-by: Jian J Wang --- .../Universal/Variable/RuntimeDxe/VariableDxe.c

[edk2] [PATCH V3 01/17] MdeModulePkg Variable: Add some missing changes for 9b18845

2019-01-15 Thread Star Zeng
them when updating code for https://bugzilla.tianocore.org/show_bug.cgi?id=1323 Merge EmuVariable and Real variable driver. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Hao Wu --- MdeModulePkg/Universal/Variable

[edk2] [PATCH V3 03/17] MdeModulePkg Variable: Move "extern XXX" to Variable.h

2019-01-15 Thread Star Zeng
ontributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h| 11 --- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 4 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c | 3 --

[edk2] [PATCH V3 07/17] MdeModulePkg Variable: type case VolatileBase to UINTN directly

2019-01-15 Thread Star Zeng
bution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Hao Wu Reviewed-by: Jian J Wang Reviewed-by: Laszlo Ersek --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variabl

[edk2] [PATCH V3 00/17] Merge EmuVariable and Real variable driver

2019-01-15 Thread Star Zeng
with no SMM) to UEFI SHELL with PcdEmuVariableNvModeEnable == TRUE. More test will be welcome and appreciated. :) Patches to update edk2-platforms Repo will be sent out separately. Star Zeng (17): MdeModulePkg Variable: Add some missing changes for 9b18845 MdeModulePkg Variable

[edk2] [PATCH V3 17/17] MdeModulePkg: Remove EmuVariableRuntimeDxe

2019-01-15 Thread Star Zeng
Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dsc |5 +- .../Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 1820 .../EmuRuntimeDxe/EmuVariableRuntimeDxe.inf

[edk2] [PATCH V3 04/17] MdeModulePkg Variable: Not get NV PCD in VariableWriteServiceInitialize

2019-01-15 Thread Star Zeng
the NV storage is real or emulated. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 20

[edk2] [PATCH V3 13/17] ArmVirtXen: Link VarCheckUefiLib NULL class library instance

2019-01-15 Thread Star Zeng
: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtXen.dsc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg

[edk2] [PATCH V3 11/17] MdeModulePkg VariablePei: Don't check BOOT_IN_RECOVERY_MODE

2019-01-15 Thread Star Zeng
Don't check BOOT_IN_RECOVERY_MODE, but check PcdEmuVariableNvModeEnable which platform can configure flexibly. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 8

[edk2] [PATCH V3 14/17] BeagleBoardPkg: Use merged variable driver for emulated NV mode

2019-01-15 Thread Star Zeng
Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- BeagleBoardPkg/BeagleBoardPkg.dsc | 14 -- BeagleBoardPkg/BeagleBoardPkg.fdf | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/BeagleBoardPkg

[edk2] [PATCH V3 09/17] MdeModulePkg: Refine description a little for PcdEmuVariableNvStoreReserved

2019-01-15 Thread Star Zeng
for PcdEmuVariableNvStoreReserved. Suggested-by: Jian J Wang Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec | 6 +++--- MdeModulePkg/MdeModulePkg.uni | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[edk2] [PATCH V3 16/17] CorebootPayloadPkg: Use merged variable driver for emulated NV mode

2019-01-15 Thread Star Zeng
Ma Cc: Prince Agyeman Cc: Benjamin You Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 4 ++-- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 11 +-- CorebootPayloadPkg

[edk2] [PATCH V3 10/17] MdeModulePkg Variable: Add emulated variable NV mode support

2019-01-15 Thread Star Zeng
the merged variable driver. Cc: Jian J Wang Cc: Hao Wu Cc: Michael D Kinney Cc: Liming Gao Cc: Ray Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Acked-by: Laszlo Ersek --- .../Universal/Variable/RuntimeDxe

[edk2] [PATCH V3 12/17] ArmVirtXen: Use merged variable driver for emulated NV mode

2019-01-15 Thread Star Zeng
Ersek Cc: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtXen.dsc | 9 +++-- ArmVirtPkg/ArmVirtXen.fdf | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git

[edk2] [PATCH V3 15/17] QuarkMin: Use merged variable driver for emulated NV mode

2019-01-15 Thread Star Zeng
D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- QuarkPlatformPkg/QuarkMin.dsc | 8 ++-- QuarkPlatformPkg/QuarkMin.fdf | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/QuarkPlatformPkg/QuarkMin.dsc b

[edk2] [PATCH V3 08/17] MdeModulePkg: Add PcdEmuVariableNvModeEnable in dec

2019-01-15 Thread Star Zeng
support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek Reviewed-by: Hao Wu --- MdeModulePkg/MdeModulePkg.dec | 12 ++-- MdeModulePkg/MdeModulePkg.uni | 12 ++-- 2 files

[edk2] [PATCH V2 15/15] MdeModulePkg: Remove EmuVariableRuntimeDxe

2019-01-14 Thread Star Zeng
Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dsc |5 +- .../Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 1820 .../EmuRuntimeDxe/EmuVariableRuntimeDxe.inf

[edk2] [PATCH V2 13/15] QuarkMin: Use merged variable driver for emulated NV mode

2019-01-14 Thread Star Zeng
D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- QuarkPlatformPkg/QuarkMin.dsc | 8 ++-- QuarkPlatformPkg/QuarkMin.fdf | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/QuarkPlatformPkg/QuarkMin.dsc b

[edk2] [PATCH V2 14/15] CorebootPayloadPkg: Use merged variable driver for emulated NV mode

2019-01-14 Thread Star Zeng
Ma Cc: Prince Agyeman Cc: Benjamin You Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 4 ++-- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 11 +-- CorebootPayloadPkg

[edk2] [PATCH V2 12/15] BeagleBoardPkg: Use merged variable driver for emulated NV mode

2019-01-14 Thread Star Zeng
Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- BeagleBoardPkg/BeagleBoardPkg.dsc | 13 +++-- BeagleBoardPkg/BeagleBoardPkg.fdf | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/BeagleBoardPkg

[edk2] [PATCH V2 01/15] MdeModulePkg Variable: Add some missing changes for 9b18845

2019-01-14 Thread Star Zeng
found them when updating code for https://bugzilla.tianocore.org/show_bug.cgi?id=1323 Merge EmuVariable and Real variable driver. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c

[edk2] [PATCH V2 04/15] MdeModulePkg Variable: Abstract VariableWriteServiceInitializeDxe/Smm

2019-01-14 Thread Star Zeng
. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/VariableDxe.c| 55 ++ .../Universal

[edk2] [PATCH V2 03/15] MdeModulePkg Variable: Not get NV PCD in VariableWriteServiceInitialize

2019-01-14 Thread Star Zeng
the NV storage is real or emulated. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 20

[edk2] [PATCH V2 07/15] MdeModulePkg Variable: type case VolatileBase to UINTN directly

2019-01-14 Thread Star Zeng
bution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 4d524d

[edk2] [PATCH V2 06/15] MdeModulePkg Variable: Remove CacheOffset in UpdateVariable()

2019-01-14 Thread Star Zeng
J Wang Cc: Hao Wu Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Universal/Variable/Runt

[edk2] [PATCH V2 08/15] MdeModulePkg Variable: Add emulated variable NV mode support

2019-01-14 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 318 +++-- .../Universal/Variable/RuntimeDxe/Variable.h | 1 + .../Universal/Variable/RuntimeDxe/VariableDxe.c| 27 +- .../Variable/RuntimeDxe

[edk2] [PATCH V2 11/15] ArmVirtXen: Link VarCheckUefiLib NULL class library instance

2019-01-14 Thread Star Zeng
Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- ArmVirtPkg/ArmVirtXen.dsc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg/ArmVirtXen.dsc index db85fb3402d0..e58444e6ae27

[edk2] [PATCH V2 10/15] ArmVirtXen: Use merged variable driver for emulated NV mode

2019-01-14 Thread Star Zeng
Ersek Cc: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- ArmVirtPkg/ArmVirtXen.dsc | 9 +++-- ArmVirtPkg/ArmVirtXen.fdf | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ArmVirtPkg/ArmVirtXen.dsc b

[edk2] [PATCH V2 00/15] Merge EmuVariable and Real variable driver

2019-01-14 Thread Star Zeng
with PcdEmuVariableNvModeEnable == TRUE. More test will be welcome and appreciated. :) Patches to update edk2-platforms Repo will be sent out separately. Star Zeng (15): MdeModulePkg Variable: Add some missing changes for 9b18845 MdeModulePkg Variable: Abstract

[edk2] [PATCH V2 02/15] MdeModulePkg Variable: Abstract InitRealNonVolatileVariableStore

2019-01-14 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 86 +++--- 1 file changed, 58 insertions(+), 28 deletions(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg

[edk2] [PATCH V2 09/15] MdeModulePkg VariablePei: Don't check BOOT_IN_RECOVERY_MODE

2019-01-14 Thread Star Zeng
Don't check BOOT_IN_RECOVERY_MODE, but check PcdEmuVariableNvModeEnable which platform can configure flexibly. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 8

[edk2] [PATCH V2 05/15] MdeModulePkg: Add PcdEmuVariableNvModeEnable in dec

2019-01-14 Thread Star Zeng
support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek --- MdeModulePkg/MdeModulePkg.dec | 10 -- MdeModulePkg/MdeModulePkg.uni | 10 -- 2 files changed, 16 insertions

[edk2] [edk2-platforms PATCH] MinPlatformPkg: Use merged variable driver for emulated NV mode

2019-01-16 Thread Star Zeng
A Kubacki Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc | 7 +-- Platform/Intel/MinPlatformPkg/Include/Fdf/CoreUefiBootInclude.fdf | 4 ++-- 2 files changed, 7 insertions

[edk2] [edk2-platforms PATCH] Platform HiKeyXXX: Use merged variable driver for emulated NV mode

2019-01-16 Thread Star Zeng
: FaultTolerantWriteDxe is not needed at all for emulated NV mode, so remove FaultTolerantWriteDxe including. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Platform/Hisilicon/HiKey/HiKey.dsc | 13

[edk2] [edk2-platforms PATCH] Platform D03/D05: Remove EmuVariableRuntimeDxe including

2019-01-16 Thread Star Zeng
and D05.dsc directly. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Platform/Hisilicon/D03/D03.dsc | 1 - Platform/Hisilicon/D05/D05.dsc | 2 -- 2 files changed, 3 deletions(-) diff --git a/Platform

[edk2] [PATCH V2 1/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPeimPerFv

2018-12-17 Thread Star Zeng
removes the using of PcdPeiCoreMaxPeimPerFv in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/Dispatcher

[edk2] [PATCH V2 2/7] SecurityPkg Tcg(2)Pei: Remove the using of PcdPeiCoreMaxFvSupported

2018-12-17 Thread Star Zeng
. This patch removes the using of PcdPeiCoreMaxFvSupported in Tcg(2)Pei. Cc: Chao Zhang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Chao Zhang --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 59 +++-- SecurityPkg

[edk2] [PATCH V2 0/7] Remove PcdPeiCoreMaxXXX PCDs

2018-12-17 Thread Star Zeng
ELL and Windows. More test will be welcome and appreciated. :) Patches to update edk2-platforms Repo will be sent out separately. Star Zeng (7): MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPeimPerFv SecurityPkg Tcg(2)Pei: Remove the using of PcdPeiCoreMaxFvSupported MdeModulePkg PeiC

[edk2] [PATCH V2 4/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPpiSupported

2018-12-17 Thread Star Zeng
removes the using of PcdPeiCoreMaxPpiSupported in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Chasel Chiu

[edk2] [PATCH V2 6/7] Vlv2TbltDevicePkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-17 Thread Star Zeng
Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 2 -- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 2 -- Vlv2TbltDevicePkg/PlatformPkgX64.dsc| 2 -- 3 files changed, 6 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b

[edk2] [PATCH V2 7/7] MdeModulePkg: Remove PcdPeiCoreMaxXXX PCDs

2018-12-17 Thread Star Zeng
Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Chasel Chiu --- MdeModulePkg/MdeModulePkg.dec | 13 - MdeModulePkg/MdeModulePkg.uni | 12 2 files changed, 25 deletions(-) diff --git

[edk2] [PATCH V2 3/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxFvSupported

2018-12-17 Thread Star Zeng
. This patch removes the using of PcdPeiCoreMaxFvSupported in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Chasel Chiu Reviewed

[edk2] [PATCH V2 5/7] OvmfPkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-17 Thread Star Zeng
: Anthony Perard Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel --- OvmfPkg/OvmfPkgIa32.dsc| 2 -- OvmfPkg/OvmfPkgIa32X64.dsc | 2 -- OvmfPkg/OvmfPkgX64.dsc | 2 -- 3 files changed, 6

[edk2] [PATCH 4/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPpiSupported

2018-12-14 Thread Star Zeng
removes the using of PcdPeiCoreMaxPpiSupported in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/Dispatcher

[edk2] [PATCH 0/7] Remove PcdPeiCoreMaxXXX PCDs

2018-12-14 Thread Star Zeng
test will be welcome and appreciated. :) Patches to update edk2-platforms Repo will be sent out separately. Star Zeng (7): MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPeimPerFv SecurityPkg Tcg(2)Pei: Remove the using of PcdPeiCoreMaxFvSupported MdeModulePkg PeiCore: Remove

[edk2] [PATCH 1/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxPeimPerFv

2018-12-14 Thread Star Zeng
removes the using of PcdPeiCoreMaxPeimPerFv in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/Dispatcher

[edk2] [PATCH 2/7] SecurityPkg Tcg(2)Pei: Remove the using of PcdPeiCoreMaxFvSupported

2018-12-14 Thread Star Zeng
. This patch removes the using of PcdPeiCoreMaxFvSupported in Tcg(2)Pei. Cc: Chao Zhang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 59 +++-- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf

[edk2] [edk2-platforms PATCH 0/2] Remove PcdPeiCoreMaxXXX PCDs

2018-12-14 Thread Star Zeng
accordingly, these patches will be pushed after [PATCH 4/7] and before [PATCH 7/7] at https://lists.01.org/pipermail/edk2-devel/2018-December/033985.html after code review. Star Zeng (2): KabylakeOpenBoardPkg: Remove PcdPeiCoreMaxXXX PCDs' statement PurleyOpenBoardPkg: Remove PcdPeiCoreMaxXXX PCDs

[edk2] [edk2-platforms PATCH 1/2] KabylakeOpenBoardPkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-14 Thread Star Zeng
: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc| 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkgPcd.dsc b/Platform/Intel

[edk2] [edk2-platforms PATCH 2/2] PurleyOpenBoardPkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-14 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkgPcd.dsc | 2 -- 1 file changed, 2 deletions(-) diff --git a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkgPcd.dsc b/Platform/Intel/PurleyOpenBoardPkg

[edk2] [PATCH 3/7] MdeModulePkg PeiCore: Remove the using of PcdPeiCoreMaxFvSupported

2018-12-14 Thread Star Zeng
. This patch removes the using of PcdPeiCoreMaxFvSupported in PeiCore. Cc: Jian J Wang Cc: Hao Wu Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/FwVol

[edk2] [PATCH 7/7] MdeModulePkg: Remove PcdPeiCoreMaxXXX PCDs

2018-12-14 Thread Star Zeng
Kinney Cc: Nate DeSimone Cc: Chasel Chiu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec | 13 - MdeModulePkg/MdeModulePkg.uni | 12 2 files changed, 25 deletions(-) diff --git a/MdeModulePkg

[edk2] [PATCH 5/7] OvmfPkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-14 Thread Star Zeng
: Anthony Perard Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- OvmfPkg/OvmfPkgIa32.dsc| 2 -- OvmfPkg/OvmfPkgIa32X64.dsc | 2 -- OvmfPkg/OvmfPkgX64.dsc | 2 -- 3 files changed, 6 deletions(-) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg

[edk2] [PATCH 6/7] Vlv2TbltDevicePkg: Remove PcdPeiCoreMaxXXX PCDs' statement

2018-12-14 Thread Star Zeng
Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 2 -- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 2 -- Vlv2TbltDevicePkg/PlatformPkgX64.dsc| 2 -- 3 files changed, 6 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b

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

2018-11-27 Thread Star Zeng
As Star has some other focus, change Star from maintainer to reviewer, Jian will be the first maintainer, and add Hao as the second maintainer. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Maintainers.txt | 3 ++- 1 file

[edk2] [PATCH] Maintainers.txt: Update FmpDevicePkg maintainer

2018-11-27 Thread Star Zeng
As Star has some other focus, remove Star and add Liming as the FmpDevicePkg maintainer. Cc: Liming Gao Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[edk2] [PATCH 03/12] MdeModulePkg Variable: Not get NV PCD in VariableWriteServiceInitialize

2019-01-13 Thread Star Zeng
the NV storage is real or emulated. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 20

[edk2] [PATCH 01/12] MdeModulePkg Variable: Add some missing changes for 9b18845

2019-01-13 Thread Star Zeng
driver. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c| 12 +--- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 6 +++--- 2 files changed, 8 insertions

[edk2] [PATCH 02/12] MdeModulePkg Variable: Abstract InitRealNonVolatileVariableStore

2019-01-13 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 86 +++--- 1 file changed, 58 insertions(+), 28 deletions(-) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg

[edk2] [PATCH 05/12] MdeModulePkg: Add PcdEmuVariableNvModeEnable in dsc

2019-01-13 Thread Star Zeng
support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec | 10 -- MdeModulePkg/MdeModulePkg.uni | 10 -- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git

[edk2] [PATCH 06/12] MdeModulePkg Variable: Add emulated variable NV mode support

2019-01-13 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/Variable.c | 319 +++-- .../Universal/Variable/RuntimeDxe/Variable.h | 1 + .../Universal/Variable/RuntimeDxe/VariableDxe.c| 27 +- .../Variable/RuntimeDxe

[edk2] [PATCH 00/12] Merge EmuVariable and Real variable driver

2019-01-13 Thread Star Zeng
test will be welcome and appreciated. :) Patches to update edk2-platforms Repo will be sent out separately. Star Zeng (12): MdeModulePkg Variable: Add some missing changes for 9b18845 MdeModulePkg Variable: Abstract InitRealNonVolatileVariableStore MdeModulePkg Variable: Not get NV PCD

[edk2] [PATCH 08/12] ArmVirtXen: Use merged variable driver for emulated NV mode

2019-01-13 Thread Star Zeng
Ersek Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- ArmVirtPkg/ArmVirtXen.dsc | 11 +-- ArmVirtPkg/ArmVirtXen.fdf | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg

[edk2] [PATCH 12/12] MdeModule: Remove EmuVariableRuntimeDxe

2019-01-13 Thread Star Zeng
Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dsc |5 +- .../Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 1820 .../EmuRuntimeDxe/EmuVariableRuntimeDxe.inf

[edk2] [PATCH 09/12] BeagleBoardPkg: Use merged variable driver for emulated NV mode

2019-01-13 Thread Star Zeng
Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- BeagleBoardPkg/BeagleBoardPkg.dsc | 11 +-- BeagleBoardPkg/BeagleBoardPkg.fdf | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/BeagleBoardPkg

[edk2] [PATCH 07/12] MdeModulePkg VariablePei: Don't check BOOT_IN_RECOVERY_MODE

2019-01-13 Thread Star Zeng
Don't check BOOT_IN_RECOVERY_MODE, but check PcdEmuVariableNvModeEnable which platform can configure flexibly. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 8

[edk2] [PATCH 11/12] CorebootPayloadPkg: Use merged variable driver for emulated NV mode

2019-01-13 Thread Star Zeng
Ma Cc: Prince Agyeman Cc: Benjamin You Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 4 ++-- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 11 +-- CorebootPayloadPkg

[edk2] [PATCH 04/12] MdeModulePkg Variable: Abstract VariableWriteServiceInitializeDxe/Smm

2019-01-13 Thread Star Zeng
. This patch prepares for adding emulated variable NV mode support in VariableRuntimeDxe. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Universal/Variable/RuntimeDxe/VariableDxe.c| 55 ++ .../Universal

[edk2] [PATCH 10/12] QuarkMin: Use merged variable driver for emulated NV mode

2019-01-13 Thread Star Zeng
D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- QuarkPlatformPkg/QuarkMin.dsc | 7 +-- QuarkPlatformPkg/QuarkMin.fdf | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/QuarkPlatformPkg/QuarkMin.dsc b

[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-13 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] 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 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
: 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 EfiLocateFirstAcpiTable

<    3   4   5   6   7   8   9   >