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
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
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
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
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
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):
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
--
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:
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
).
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
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
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
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
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
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
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
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
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:
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(
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
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
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
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 |
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
: 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
; 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(+
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
; 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
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
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
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
Signed-off-by: Star Zeng
---
.../IntelFrameworkModulePkg.dec| 8 +-
.../IntelFrameworkModulePkg.uni| 6 +-
.../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 +
.../Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf | 11 +-
.../Acpi
,
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
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
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
Signed-off-by: Star Zeng
Reviewed-by: Jiewen Yao
---
.../IntelFrameworkModulePkg.dec| 8 +-
.../IntelFrameworkModulePkg.uni| 6 +-
.../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 +
.../Universal/Acpi/AcpiS3SaveDxe
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
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
,
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
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
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
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
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
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
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
Signed-off-by: Star Zeng
Reviewed-by: Jiewen Yao
---
.../IntelFrameworkModulePkg.dec| 8 +-
.../IntelFrameworkModulePkg.uni| 6 +-
.../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 451 +
.../Universal/Acpi/AcpiS3SaveDxe
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
401 - 500 of 882 matches
Mail list logo