[edk2] [PATCH V2 3/3] DuetPkg FsVariable: Update GetNextVariableName to follow UEFI 2.7

2017-06-23 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update code to follow them. Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- DuetPkg/FSVariable/FSVaria

[edk2] [PATCH V2 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7

2017-06-23 Thread Star Zeng
not a name and GUID of an existing variable. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. Star Zeng (3): MdePkg: Update comments for GetNextVariableName to follow UEFI 2.7 MdeModulePkg Variable: Update GetNextVariableName to follo

[edk2] [PATCH V2 2/3] MdeModulePkg Variable: Update GetNextVariableName to follow UEFI 2.7

2017-06-23 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update code to follow them. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../Universal/Variable/EmuRuntimeDxe/EmuVaria

[edk2] [PATCH V2 1/3] MdePkg: Update comments for GetNextVariableName to follow UEFI 2.7

2017-06-23 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update comments for GetNextVariableName to follow them. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/In

[edk2] [PATCH] MdeModulePkg DxeCore: Only free ScratchBuffer when it is not NULL

2017-06-23 Thread Star Zeng
when it is not NULL. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/Dxe

[edk2] [PATCH V3 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7

2017-06-26 Thread Star Zeng
ariableNameSize. And two cases of EFI_INVALID_PARAMETER are added. 1. The input values of VariableName and VendorGuid are not a name and GUID of an existing variable. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. Star Zeng (3):

[edk2] [PATCH V3 3/3] DuetPkg FsVariable: Update GetNextVariableName to follow UEFI 2.7

2017-06-26 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update code to follow them. Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --

[edk2] [PATCH V3 1/3] MdePkg: Update comments for GetNextVariableName to follow UEFI 2.7

2017-06-26 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update comments for GetNextVariableName to follow them. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by:

[edk2] [PATCH V3 2/3] MdeModulePkg Variable: Update GetNextVariableName to follow UEFI 2.7

2017-06-26 Thread Star Zeng
e. 2. Null-terminator is not found in the first VariableNameSize bytes of the input VariableName buffer. This patch is to update code to follow them. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --- .../Universa

[edk2] [PATCH V5] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol

2017-06-28 Thread Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Amit Kumar Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Hand/Handle.c | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg

[edk2] [PATCH] MdeModulePkg ResetSystem: Update the comments of ResetSystem()

2017-06-29 Thread Star Zeng
Update the comments of ResetSystem() that was missed by 37078045d717 and 28426918f0ea. Cc: Ruiyu Ni Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c | 3 +++ MdeModulePkg/Universal

[edk2] [PATCH 0/2] Correct the comments of PeiResetSystem2

2017-06-29 Thread Star Zeng
Star Zeng (2): MdePkg: Correct the comments of EFI_PEI_RESET2_SYSTEM MdeModulePkg PeiCore: Correct the comments of PeiResetSystem2 MdeModulePkg/Core/Pei/PeiMain.h | 4 ++-- MdeModulePkg/Core/Pei/Reset/Reset.c | 4 ++-- MdePkg/Include/Pi/PiPeiCis.h| 4 ++-- 3 files changed, 6

[edk2] [PATCH 1/2] MdePkg: Correct the comments of EFI_PEI_RESET2_SYSTEM

2017-06-29 Thread Star Zeng
Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Pi/PiPeiCis.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Pi/PiPeiCis.h b/MdePkg/Include/Pi/PiPeiCis.h index 7cd525512f3d..92d6f0641ede

[edk2] [PATCH 2/2] MdeModulePkg PeiCore: Correct the comments of PeiResetSystem2

2017-06-29 Thread Star Zeng
Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/PeiMain.h | 4 ++-- MdeModulePkg/Core/Pei/Reset/Reset.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b

[edk2] [PATCH] MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()

2017-06-30 Thread Star Zeng
uted-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c b/MdeModulePkg/Application/CapsuleApp/CapsuleA

[edk2] [PATCH 0/2] Minor update to HSTI

2017-07-14 Thread Star Zeng
Separated patch commit log has the change information. Star Zeng (2): MdePkg Hsti.h: Update version info to 1.1a MdePkg DxeHstiLib: Fix memory leak issue MdePkg/Include/IndustryStandard/Hsti.h | 6 +++--- MdePkg/Library/DxeHstiLib/HstiDxe.c| 7 +-- 2 files changed, 8 insertions

[edk2] [PATCH 1/2] MdePkg Hsti.h: Update version info to 1.1a

2017-07-14 Thread Star Zeng
The definition for 1.1a has no difference with 1.0. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/IndustryStandard/Hsti.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include

[edk2] [PATCH 2/2] MdePkg DxeHstiLib: Fix memory leak issue

2017-07-14 Thread Star Zeng
The Hsti returned from InternalHstiFindAip() and temporally allocated NewHsti need to be freed after used. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Library/DxeHstiLib/HstiDxe.c | 7 +-- 1 file changed, 5 insertions(+), 2

[edk2] [PATCH] MdePkg UsbFunctionIo.h: Update comments for GetDeviceInfo return status

2017-07-19 Thread Star Zeng
. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Protocol/UsbFunctionIo.h | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include/Protocol/UsbFunctionIo.h b/MdePkg/Include/Protocol

[edk2] [PATCH 2/3] MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table

2017-07-20 Thread Star Zeng
Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h | 20 --- MdePkg/Include/PiSmm.h | 3 +-- MdePkg/Include/Protocol/SmmCommunication.h | 28 + MdePkg/Include/Uefi/UefiAcpiDataTable.h

[edk2] [PATCH 0/3] Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table

2017-07-20 Thread Star Zeng
Delete SMM Communication ACPI Table definition and update PiSmmCommunicationSmm to not install SMM Communication ACPI Table anymore. Star Zeng (3): SecurityPkg OpalPasswordSupportLib: Remove include to UefiAcpiDataTable.h MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI

[edk2] [PATCH 1/3] SecurityPkg OpalPasswordSupportLib: Remove include to UefiAcpiDataTable.h

2017-07-20 Thread Star Zeng
Remove redundant include to UefiAcpiDataTable.h as SmmCommunication.h will help to include it. Cc: Jiewen Yao Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportNotify.h | 3 +-- 1

[edk2] [PATCH 3/3] UefiCpuPkg PiSmmCommunicationSmm: Deprecate SMM Communication ACPI Table

2017-07-20 Thread Star Zeng
Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table, PiSmmCommunicationSmm will not install SMM Communication ACPI Table anymore. Cc: Jiewen Yao Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../PiSmmCommunication

[edk2] [PATCH] MdeModulePkg SmmLockBoxDxeLib: Get SmmCommRegion for COMM buffer

2017-07-20 Thread Star Zeng
gEdkiiPiSmmCommunicationRegionTableGuid for COMM buffer Cc: Jiewen Yao Cc: Baraneedharan Anbazhagan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../Library/SmmLockBoxLib/SmmLockBoxDxeLib.c | 199 +++-- .../Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf | 6

[edk2] [PATCH] MdeModulePkg Xhci: Also RecoverHaltedEndpoint for BABBLE_ERROR

2017-07-24 Thread Star Zeng
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c| 2 +- MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe

[edk2] [PATCH 0/2] Handle notification PPI from SEC

2017-07-28 Thread Star Zeng
This patch series is to follow latest (>= 1.5) PI spec to handle notification PPI from SEC. Star Zeng (2): MdePkg PiPeiCis.h: Add description for notification PPI from SEC MdeModulePkg PeiCore: Handle notification PPI from SEC MdeModulePkg/Core/Pei/PeiMain.h | 14 MdeModule

[edk2] [PATCH 1/2] MdePkg PiPeiCis.h: Add description for notification PPI from SEC

2017-07-28 Thread Star Zeng
This patch is to follow latest (>= 1.5) PI spec to add description for notification PPI from SEC Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Pi/PiPeiCis.h | 17 + 1 file changed, 9 insertions(+), 8 deleti

[edk2] [PATCH 2/2] MdeModulePkg PeiCore: Handle notification PPI from SEC

2017-07-28 Thread Star Zeng
InstallPpi() will be used for normal PPI in PPI list from SEC, and NotifyPpi() will be used for notification PPI in PPI list from SEC. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/PeiMain.h | 14

[edk2] [PATCH 1/3] UefiCpuPkg SecCore: Adjust PeiTemporaryRamBase&Size to be 8byte aligned

2017-07-30 Thread Star Zeng
As HOB which has 8byte aligned requirement will be built based on them in PEI phase. Cc: Liming Gao Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- UefiCpuPkg/SecCore/SecMain.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[edk2] [PATCH 0/3] Add SecPerformancePpiCallBack to get SEC performance data in SecCore

2017-07-30 Thread Star Zeng
Current SEC performance data getting code in FirmwarePerformancePei may get wrong SEC performance data if FirmwarePerformancePei executes after memory discovered, it can be removed after SecPerformancePpiCallBack is added in SecCore. Cc: Liming Gao Cc: Jeff Fan Star Zeng (3): UefiCpuPkg

[edk2] [PATCH 3/3] MdeModulePkg FirmwarePerfPei: Remove SEC performance data getting code

2017-07-30 Thread Star Zeng
phase. This patch is to remove the SEC performance data getting code in FirmwarePerformancePei. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../FirmwarePerformancePei.c | 39

[edk2] [PATCH 2/3] UefiCpuPkg SecCore: Add SecPerformancePpiCallBack

2017-07-30 Thread Star Zeng
Add SecPerformancePpiCallBack to get SEC performance data and build HOB to convey the SEC performance data to DXE phase. Cc: Liming Gao Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- UefiCpuPkg/SecCore/SecCore.inf | 7 +++ UefiCpuPkg

[edk2] [PATCH] MdeModulePkg PiSmmCoreMemoryAllocLib: Fix a FreePool() assertion issue

2017-07-31 Thread Star Zeng
). Cc: Liming Gao Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../MemoryAllocationLib.c | 32 +++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Library/PiSmmCoreMemoryA

[edk2] [PATCH] UefiCpuPkg SecCore: Fix operands of different size in bitwise operation

2017-08-01 Thread Star Zeng
It is introduced by 9e9ca2100f22be29f1a53129d741f4305ff34a71. Cc: Hao Wu Cc: Liming Gao Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- UefiCpuPkg/SecCore/SecMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[edk2] [PATCH 1/2] MdePkg: Add definition for SecHobData PPI

2017-08-02 Thread Star Zeng
This PPI is introduced in PI Version 1.5. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdePkg/Include/Ppi/SecHobData.h | 65 + MdePkg/MdePkg.dec | 7 + 2 files changed, 72

[edk2] [PATCH 0/2] Add SecHobData PPI support

2017-08-02 Thread Star Zeng
This PPI is introduced in PI Version 1.5. Cc: Liming Gao Star Zeng (2): MdePkg: Add definition for SecHobData PPI MdeModulePkg PeiCore: Install SEC HOB data MdeModulePkg/Core/Pei/Hob/Hob.c | 74 ++- MdeModulePkg/Core/Pei/PeiMain.h | 17

[edk2] [PATCH 2/2] MdeModulePkg PeiCore: Install SEC HOB data

2017-08-02 Thread Star Zeng
PEIMs. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei/Hob/Hob.c | 74 ++- MdeModulePkg/Core/Pei/PeiMain.h | 17 + MdeModulePkg/Core/Pei/PeiMain.inf | 3 +- MdeModulePkg/Core

[edk2] [PATCH] MdeModulePkg SerialDxe: Process timeout consistently in SerialRead

2017-08-04 Thread Star Zeng
Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/SerialDxe/SerialIo.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/SerialDxe/SerialIo.c b/MdeModulePkg/Universal/SerialDxe/SerialIo.c index d2383e56dd8f..43d33dba0c2a 100644

[edk2] [PATCH] IntelSiliconPkg: Fix VS2015 NOOPT IA32 build failure in IntelVTdDxe

2017-08-10 Thread Star Zeng
structure definition, and also update IntelVTdDxe code accordingly. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- IntelSiliconPkg/Include/IndustryStandard/Vtd.h | 225 --- IntelSiliconPkg/IntelVTdDxe/DmaProtection.h | 2

[edk2] [PATCH 0/2] DxeCore: Fix double free pages on LoadImage failure path

2017-08-10 Thread Star Zeng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=667 REF: https://lists.01.org/pipermail/edk2-devel/2017-August/013112.html Star Zeng (2): MdeModulePkg DxeCore: Fix double free pages on LoadImage failure path MdeModulePkg DxeCore: Enhance "ConvertPages: Incompatible memory

[edk2] [PATCH 2/2] MdeModulePkg DxeCore: Enhance "ConvertPages: Incompatible memory types"

2017-08-10 Thread Star Zeng
efer https://lists.01.org/pipermail/edk2-devel/2017-August/013075.html for the discussion. This patch is to enhance the debug message for the error paths by FreePages() or AllocatePages. Cc: Liming Gao Cc: Andrew Fish Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by:

[edk2] [PATCH 1/2] MdeModulePkg DxeCore: Fix double free pages on LoadImage failure path

2017-08-10 Thread Star Zeng
13112.html to set Image->ImageContext.ImageAddress and Image->ImageBasePage to 0 after the free in CoreLoadPeImage(). Cc: Liming Gao Cc: Andrew Fish Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Image/Image.c | 2 ++ 1 file changed, 2 insertions(

[edk2] [PATCH 1/2] PerformancePkg DP: Init CustomCumulativeData.MinDur

2017-08-11 Thread Star Zeng
Init CustomCumulativeData.MinDur to PERF_MAXDUR, otherwise the MinDur displayed for custom cumulative data will be always 0, but not the real shortest duration. Cc: Liming Gao Cc: Cinnamon Shia Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- PerformancePkg

[edk2] [PATCH 0/2] DP: Init CustomCumulativeData.MinDur

2017-08-11 Thread Star Zeng
Init CustomCumulativeData.MinDur to PERF_MAXDUR, otherwise the MinDur displayed for custom cumulative data will be always 0, but not the real shortest duration. Cc: Liming Gao Cc: Ruiyu Ni Cc: Cinnamon Shia Star Zeng (2): PerformancePkg DP: Init CustomCumulativeData.MinDur ShellPkg

[edk2] [PATCH 2/2] ShellPkg UefiDpLib: Init CustomCumulativeData.MinDur

2017-08-11 Thread Star Zeng
Init CustomCumulativeData.MinDur to PERF_MAXDUR, otherwise the MinDur displayed for custom cumulative data will be always 0, but not the real shortest duration. Cc: Liming Gao Cc: Ruiyu Ni Cc: Cinnamon Shia Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng

[edk2] [PATCH] UefiCpuPkg MpInitLib: Save/restore original WakeupBuffer for DxeMpLib

2017-08-13 Thread Star Zeng
ion Agreement 1.0 Signed-off-by: Star Zeng --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 84 --- UefiCpuPkg/Library/MpInitLib/MpLib.c| 114 +--- UefiCpuPkg/Library/MpInitLib/MpLib.h| 43 +++- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c |

[edk2] [PATCH] edk2: Fix typo in Contributions.txt

2017-08-14 Thread Star Zeng
Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Contributions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contributions.txt b/Contributions.txt index bd2f11f407fa..3c2dc1cf86a3 100644 --- a/Contributions.txt

[edk2] [PATCH V2] edk2: Fix typo in Contributions.txt

2017-08-15 Thread Star Zeng
V2: Use "license" instead of "BSD License" V1: Use "FreeBSD" instead of "BSD" Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- Contributions.txt | 2 +- 1 file changed, 1 insertion(+), 1 delet

[edk2] [PATCH 3/5] MdePkg PeiMemoryAllocationLib: Update Free(Aligned)Pages

2017-08-18 Thread Star Zeng
Update Free(Aligned)Pages to use PeiServicesFreePages. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Library/PeiMemoryAllocationLib/MemoryAllocationLib.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

[edk2] [PATCH 0/5] PeiCore: Support pre memory page allocation

2017-08-18 Thread Star Zeng
Follow PI 1.6 spec to support pre memory page allocation and support FreePages. Cc: Liming Gao Cc: Ruiyu Ni Star Zeng (5): MdePkg PiPeiCis.h: Add FreePages definition MdePkg PeiServicesLib: Add PeiServicesFreePages MdePkg PeiMemoryAllocationLib: Update Free(Aligned)Pages MdePkg

[edk2] [PATCH 1/5] MdePkg PiPeiCis.h: Add FreePages definition

2017-08-18 Thread Star Zeng
Follow PI 1.6 spec to add FreePages definition and comments for AllocatePages that will support pre permanent memory page allocation. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Pi/PiPeiCis.h | 27

[edk2] [PATCH 2/5] MdePkg PeiServicesLib: Add PeiServicesFreePages

2017-08-18 Thread Star Zeng
Add PeiServicesFreePages and update comments for PeiServicesAllocatePages. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdePkg/Include/Library/PeiServicesLib.h| 31 ++- MdePkg/Library/PeiServicesLib

[edk2] [PATCH 5/5] MdeModule PeiCore: Support pre memory page allocation

2017-08-18 Thread Star Zeng
Support pre memory page allocation. Support FreePages. Allocation made prior to permanent memory will be migrated to permanent memory and the HOB updated. Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Pei

[edk2] [PATCH 4/5] MdePkg PeiMemoryAllocationLib: Update InternalAllocateAlignedPages

2017-08-18 Thread Star Zeng
: Star Zeng --- .../PeiMemoryAllocationLib/MemoryAllocationLib.c | 172 + 1 file changed, 40 insertions(+), 132 deletions(-) diff --git a/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c index

[edk2] [PATCH] UefiCpuPkg/PiSmmCpuDxeSmm: Fix memory protection crash

2017-08-23 Thread Star Zeng
sek Cc: Eric Dong Originally-suggested-by: Jiewen Yao Reported-by: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 4 +++ UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 1 + UefiCpu

[edk2] [PATCH] MdeModulePkg XhciDxe: Fix Map and Unmap inconsistency

2017-08-24 Thread Star Zeng
ore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c index 6013d7620fe5..21fdcf130a50 100

[edk2] [PATCH] UefiCpuPkg/PiSmmCpuDxeSmm: Centralize mPhysicalAddressBits definition

2017-08-27 Thread Star Zeng
address check. This patch is to centralize mPhysicalAddressBits definition to PiSmmCpuDxeSmm.c from Ia32 and X64 PageTbl.c. Cc: Jiewen Yao Cc: Laszlo Ersek Cc: Eric Dong Suggested-by: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- UefiCpuPkg

[edk2] [PATCH] SourceLevelDebugPkg/DebugCommLibUsb3Pei: Make sure alloc physical mem

2017-08-31 Thread Star Zeng
1.1 Signed-off-by: Star Zeng --- .../DebugCommunicationLibUsb3Pei.c | 28 +++--- .../DebugCommunicationLibUsb3Pei.inf | 5 +++- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3

[edk2] [PATCH] SourceLevelDebugPkg/DebugCommLibUsb3: Remove IntelFrameworkPkg.dec

2017-08-31 Thread Star Zeng
Cc: Ruiyu Ni Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng --- .../Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.inf | 3 +-- .../Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.inf | 1 - 2 files changed, 1

[edk2] [PATCH] MdeModulePkg: Add PcdMaxPeiPerformanceLogEntries16 PROMPT&HELP STR to *.uni

2016-03-13 Thread Star Zeng
es HELP STR. This patch is to add PcdMaxPeiPerformanceLogEntries16 PROMPT&HELP STR and update PcdMaxPeiPerformanceLogEntries HELP STR in *.uni. Cc: Shumin Qiu Cc: Cinnamon Shia Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- M

[edk2] [PATCH V2 0/2] Minor error handling enhancement for address boundary check

2016-03-18 Thread Star Zeng
V2: [2/2] is updated to also handle invalid NumberOfPages. Cc: Jiewen Yao Cc: Michael Kinney Cc: Liming Gao Cc: Feng Tian Star Zeng (2): MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress

[edk2] [PATCH V2 2/2] MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress

2016-03-18 Thread Star Zeng
ng Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Page.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c

[edk2] [PATCH 0/2] Minor error handling enhancement for address boundary check

2016-03-18 Thread Star Zeng
Cc: Michael Kinney Cc: Liming Gao Cc: Feng Tian Star Zeng (2): MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress MdeModulePkg/Core/Dxe/Mem/Page.c | 25 +++-- 1 file changed, 23

[edk2] [PATCH 2/2] MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress

2016-03-19 Thread Star Zeng
: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Page.c | 21 + 1 file changed, 21 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c index 62738a187546..629ad9cb1dff 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Page.c +++ b/MdeModulePkg/Core/Dxe

[edk2] [PATCH 1/2] MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx

2016-03-19 Thread Star Zeng
; to "(Start >= End)" to be consistent with "ASSERT (End > Start)" Cc: Michael Kinney Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Page.c | 4 ++-- 1 file changed, 2 insertions(+

[edk2] [PATCH] MdeModulePkg PlatformVarCleanupLib: Locate VarCheck protocol when using

2016-03-19 Thread Star Zeng
removed from [LibraryClasses] in *.inf. Cc: Ruiyu Ni Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../Library/PlatformVarCleanupLib/PlatVarCleanupLib.c | 18 ++ .../PlatformVarCleanupLib/PlatformVarCleanupLib.inf| 4

[edk2] [PATCH V2 1/2] MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx

2016-03-19 Thread Star Zeng
; to "(Start >= End)" to be consistent with "ASSERT (End > Start)" Cc: Jiewen Yao Cc: Michael Kinney Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Mem/Page.c | 4 ++-- 1 file c

[edk2] [PATCH] MdeModulePkg EmmcDxe: Fix GCC build failure with set but unused variables

2016-03-30 Thread Star Zeng
Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c index

[edk2] [PATCH 0/4] Move S3Ready() functional code from AcpiS3SaveDxe to S3SaveStateDxe

2016-03-30 Thread Star Zeng
rdan, could you help confirm the S3 functionality for OVMF? Cc: Jiewen Yao Cc: Feng Tian Cc: Jeff Fan Cc: Laszlo Ersek Cc: Jordan Justen Star Zeng (4): OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code

[edk2] [PATCH 3/4] OvmfPkg: Retire AcpiS3SaveDxe

2016-03-30 Thread Star Zeng
The same functional code has been in S3SaveStateDxe, OVMF AcpiS3SaveDxe can be retired now. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c | 550

[edk2] [PATCH 4/4] IntelFrameworkModulePkg AcpiS3SaveDxe: Remove S3Ready() functional code

2016-03-30 Thread Star Zeng
Signed-off-by: Star Zeng --- .../IntelFrameworkModulePkg.dec| 8 +- .../IntelFrameworkModulePkg.uni| 6 +- .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 + .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf | 11 +- .../Acpi

[edk2] [PATCH 1/4] OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib

2016-03-30 Thread Star Zeng
, the first driver () should run before them. DxeCore is a good selection as the first driver. The later patches to retire AcpiS3SaveDxe for OVMF depends on this patch. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star

[edk2] [PATCH 2/4] MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe

2016-03-30 Thread Star Zeng
DxeSmmReadyToLock that will shut down SMM lock box interface, EndOfDxe is a good point (OVMF AcpiS3SaveDxe has the reference implementation). Cc: Jiewen Yao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/MdeModulePkg.dec

[edk2] [PATCH V2 5/8] MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe

2016-04-06 Thread Star Zeng
DxeSmmReadyToLock that will shut down SMM lock box interface, EndOfDxe is a good point (OVMF AcpiS3SaveDxe has the reference implementation). Cc: Jiewen Yao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao --- MdeModulePkg

[edk2] [PATCH V2 8/8] IntelFrameworkModulePkg AcpiS3SaveDxe: Remove S3Ready() functional code

2016-04-06 Thread Star Zeng
Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao --- .../IntelFrameworkModulePkg.dec| 8 +- .../IntelFrameworkModulePkg.uni| 6 +- .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 + .../Universal/Acpi/AcpiS3SaveDxe

[edk2] [PATCH V2 1/8] MdeModulePkg: Introduce new PCD PcdAcpiS3Enable

2016-04-06 Thread Star Zeng
Platform can configure the PCD statically or dynamically to control if ACPI S3 will be enabled. S3 related modules can consume the PCD to control the code. Cc: Feng Tian Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng

[edk2] [PATCH V2 4/8] MdeModulePkg S3SaveStateDxe: Consume PcdAcpiS3Enable to control the code

2016-04-06 Thread Star Zeng
Cc: Feng Tian Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 5 - MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf | 5 - 2 files changed

[edk2] [PATCH V2 3/8] OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib

2016-04-06 Thread Star Zeng
, the first driver () should run before them. The later patches to retire AcpiS3SaveDxe for OVMF depends on this patch. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c

[edk2] [PATCH V2 7/8] IntelFrameworkModulePkg AcpiS3SaveDxe: Consume PcdAcpiS3Enable to control the code

2016-04-06 Thread Star Zeng
Cc: Jeff Fan Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 4 .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf| 3 ++- 2

[edk2] [PATCH V2 0/8] Move S3Ready() functional code from AcpiS3SaveDxe to S3SaveStateDxe

2016-04-06 Thread Star Zeng
Cc: Laszlo Ersek Cc: Jordan Justen Star Zeng (8): MdeModulePkg: Introduce new PCD PcdAcpiS3Enable OvmfPkg: Set PcdAcpiS3Enable according to QemuFwCfgS3Enabled() OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib MdeModulePkg S3SaveStateDxe: Consume PcdAcpiS3Enable to control

[edk2] [PATCH V2 2/8] OvmfPkg: Set PcdAcpiS3Enable according to QemuFwCfgS3Enabled()

2016-04-06 Thread Star Zeng
Also need to declare PcdAcpiS3Enable as DynamicDefault in *.dsc. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1

[edk2] [PATCH V2 6/8] OvmfPkg: Retire AcpiS3SaveDxe

2016-04-06 Thread Star Zeng
The same functional code has been in S3SaveStateDxe, OVMF AcpiS3SaveDxe can be retired now. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c | 549

[edk2] [PATCH V3 4/8] MdeModulePkg S3SaveStateDxe: Consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
Cc: Feng Tian Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek Tested-by: Laszlo Ersek Reviewed-by: Jiewen Yao --- MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h | 3

[edk2] [PATCH V3 6/8] OvmfPkg: Retire AcpiS3SaveDxe

2016-04-07 Thread Star Zeng
The same functional code has been in S3SaveStateDxe, OVMF AcpiS3SaveDxe can be retired now. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Laszlo Ersek Tested-by: Laszlo Ersek --- OvmfPkg

[edk2] [PATCH V3 8/8] IntelFrameworkModulePkg AcpiS3SaveDxe: Remove S3Ready() functional code

2016-04-07 Thread Star Zeng
Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao --- .../IntelFrameworkModulePkg.dec| 8 +- .../IntelFrameworkModulePkg.uni| 6 +- .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 + .../Universal/Acpi/AcpiS3SaveDxe

[edk2] [PATCH V3 2/8] OvmfPkg: Set PcdAcpiS3Enable according to QemuFwCfgS3Enabled()

2016-04-07 Thread Star Zeng
Also need to declare PcdAcpiS3Enable as DynamicDefault in *.dsc. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Tested-by: Laszlo Ersek --- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64

[edk2] [PATCH V3 7/8] IntelFrameworkModulePkg AcpiS3SaveDxe: Consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
Cc: Jeff Fan Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao --- IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 8 ++-- .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf

[edk2] [PATCH V3 5/8] MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe

2016-04-07 Thread Star Zeng
DxeSmmReadyToLock that will shut down SMM lock box interface, EndOfDxe is a good point (OVMF AcpiS3SaveDxe has the reference implementation). Cc: Jiewen Yao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao Tested-by: Laszlo Ersek

[edk2] [PATCH V3 0/8] Move S3Ready() functional code from AcpiS3SaveDxe to S3SaveStateDxe

2016-04-07 Thread Star Zeng
dback, tks. Include PcdLib.h in *.h and PcdLib in *.inf for 4/8. Use EFI_UNSUPPORTED as the return error status to instead of EFI_LOAD_ERROR. Cc: Jiewen Yao Cc: Feng Tian Cc: Jeff Fan Cc: Laszlo Ersek Cc: Jordan Justen Star Zeng (8): MdeModulePkg: Introduce new PCD PcdAcpiS3Enable OvmfPkg

[edk2] [PATCH V3 1/8] MdeModulePkg: Introduce new PCD PcdAcpiS3Enable

2016-04-07 Thread Star Zeng
Platform can configure the PCD statically or dynamically to control if ACPI S3 will be enabled. S3 related modules can consume the PCD to control the code. Cc: Feng Tian Cc: Jiewen Yao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed

[edk2] [PATCH V3 3/8] OvmfPkg: Install LockBox protocol in constructor of LockBoxDxeLib

2016-04-07 Thread Star Zeng
driver should run before them. The later patches to retire AcpiS3SaveDxe for OVMF depends on this patch. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Tested-by: Laszlo Ersek --- OvmfPkg/AcpiS3SaveDxe

[edk2] [PATCH 1/3] MdeModulePkg SmmS3SaveStateDxe: Consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
Cc: Feng Tian Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 7 +-- MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.inf | 6 +- 2 files changed, 10 insertions

[edk2] [PATCH 2/3] MdeModulePkg BootScriptExecutorDxe: Consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
Cc: Feng Tian Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf | 3 ++- MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c | 6 +- 2 files changed, 7

[edk2] [PATCH 3/3] UefiCpuPkg S3Resume2Pei: Consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 6 +- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a

[edk2] [PATCH 0/3] Update some S3 related modules to consume PcdAcpiS3Enable to control the code

2016-04-07 Thread Star Zeng
Cc: Feng Tian Cc: Jiewen Yao Cc: Jeff Fan Cc: Laszlo Ersek Laszlo, I guess you have interest. Star Zeng (3): MdeModulePkg SmmS3SaveStateDxe: Consume PcdAcpiS3Enable to control the code MdeModulePkg BootScriptExecutorDxe: Consume PcdAcpiS3Enable to control the code UefiCpuPkg

[edk2] [PATCH] MdeModulePkg S3SaveStateDxe: Add protocol usage for gEfiLockBoxProtocolGuid

2016-04-12 Thread Star Zeng
Cc: Shumin Qiu Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe

[edk2] [PATCH] MdeModulePkg DxeCore: Call PeCoffExtraActionLib member after Constructor

2016-04-20 Thread Star Zeng
ewen Yao Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMa

[edk2] [PATCH 3/3] MdeModulePkg DxeCore: Enhance MemoryAttributesTable installation

2016-04-21 Thread Star Zeng
runtime memory allocation after ReadyToBoot. Cc: Jiewen Yao Cc: Liming Gao Cc: Feng Tian Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/DxeMain.h| 12 +++ MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c

[edk2] [PATCH 2/3] MdeModulePkg DxeCore: Return memory type from internal free pool/pages

2016-04-21 Thread Star Zeng
The following patch for MemoryAttributesTable will need the memory type. And CoreUpdateProfile() can also use the memory type for check. Cc: Jiewen Yao Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe

[edk2] [PATCH 1/3] MdeModulePkg DxeCore: Fix a memory leak in InstallMemoryAttributesTable()

2016-04-21 Thread Star Zeng
Cc: Jiewen Yao Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c b

<    1   2   3   4   5   6   7   8   9   >