on Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong@intel.com>
Reviewed-by: Liming Gao <liming@intel.com>
Reviewed by: Andrew Fish <af...@apple.com>
---
BaseTools/Source/Python/build/build.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/BaseTools/Source/
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdePkg/Include/Protocol/StatusCode.h | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/MdePkg/Incl
FixedPcdGet32() limits PcdPeiCoreMaxFvSupported type as FixedAtBuild.
PcdGet32() allows PCD be configured as FixedAtBuild or PatchableInModule.
Cc: Chao Zhang <chao.b.zh...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@
in our X64 platform with DEBUG enable.
64 byte: 22 seconds in BDS phase
128 byte: 19.6 seconds in BDS phase
Cc: Michael Kinney <michael.d.kin...@intel.com>
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf | 3 +++
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.uni | 8 +++--
This library instance is PEIM type, not BASE type. It has the PPI
dependency for PEIM.
Cc: Feng Tian <feng.t...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../PlatformHookLibS
V2: Update VariableSmm inf to align the change in VariableRuntimeDxe.inf.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Library/VarCheckUefiLib/VarCheckUefiLib
MemoryInit uses the intrinsic memset function. To keep it pass build in VS
tool chain without source code change, /Oi option will be added.
Cc: Michael Kinney <michael.d.kin...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@
Use BaseMemoryLib ZeroMem replace memset function.
Cc: Michael Kinney <michael.d.kin...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c | 11 ++-
1
In PerformanceLib, Identifier is for single PERF, not the pair of PERF.
When find the matched START and END pair, the identifier will not be checked.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@
In V2, update function header comments not to check Identifier.
In V1, update PerformanceLib instance not to check Identifier.
Liming Gao (2):
MdePkg: Update PerformanceLib comments not to check Identifier.
MdeModulePkg: Update PerformanceLib instances not to check Identifier.
.../Library
In PerformanceLib, Identifier is for single PERF, not the pair of PERF.
When find the matched START and END pair, the identifier will not be checked.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@
Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 5 ++---
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c | 5 ++---
MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 5 ++
If EDK_TOOLS_PATH is set, then not set it again.
If EDK_TOOLS_PATH is not set, then set it.
Cc: Yonghong Zhu <yonghong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
edksetup.bat | 30 -
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Library/VarCheckUefiLib/VarCheckUefiLib.inf| 78 +++---
.../Variable/RuntimeDxe/VariableRuntimeDxe.inf | 10
Update TCG and Library module uses gEdkiiVariableLockProtocolGuid
as SOMETIMES_CONSUMES instead of CONSUMES to follow the code logic.
Cc: Chao Zhang <chao.b.zh...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@
Cc: Jaben Carsey <jaben.car...@intel.com>
Cc: Shumin Qiu <shumin@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
ShellPkg/Application/Shell/Shell.inf | 10 -
.../Ue
When PcdShadowPeimOnBoot is FALSE, they are not copied to memory and
execute from their original locations. Here, this policy should only
apply for PEIM and PEI_CORE, not for other file type, such as DXE_CORE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
If FV image without DXE depex, it will be dispatched by DxeCore.
If FV image with SMM depex, it is the invalid image. ASSERT will be trig.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Core/Dxe/Dispatcher/Dispat
From: Michael LeMay
This patch revises multiple diagnostic messages to use correct
datatypes. It also checks that a symbol name that is about to be used
in a diagnostic message is terminated by a null character within the
contents of the string table section so that the
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Universal/SerialDxe/SerialDxe.inf | 4
1 file changed, 4 insertions(+)
diff --git a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
b/MdeModulePkg/Universal/Ser
Update DnsDxe and HttpUtilitiesDxe inf files.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
NetworkPkg/DnsDxe/DnsDxe.inf | 5 +++--
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf | 5 +++--
2 files chan
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../BmpImageDecoderLib/BmpImageDecoderLib.inf | 1 +
.../BmpImageDecoderLib/BmpImageDecoderLib.uni | 26 ++
MdeModulePkg/Library/BootLogoLib/BootLogoL
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Library/BaseIpmiLibNull/BaseIpmiLibNull.inf| 1 +
.../Library/BaseIpmiLibNull/BaseIpmiLibNull.uni| 25 ++
.../DxeIpmiLibIpmiProtoc
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../RegularExpressionDxe/RegularExpressionDxe.inf | 3 +++
.../RegularExpressionDxe/RegularExpressionDxe.uni | 26 ++
.../RegularExpressionDxeExt
Liming Gao (8):
MdeModulePkg: Add the missing Library uni files of Ipmi instances
MdeModulePkg: Add the missing Library uni files of ImageDecode
instances
MdeModulePkg: Add the missing library uni files of UI instances
MdeModulePkg: Add the missing module uni in RegularExpressionDxe
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf | 4 +++
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni | 40 +++
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.un
IntelFrameworkModulePkg.uni includes some undefined PCD help and
prompt strings, which will be removed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../IntelFrameworkModulePkg.uni| 26 +--
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../BootMaintenanceManagerLib.inf | 1 +
.../BootMaintenanceManagerLib.uni | 26 ++
.../Library/BootManagerLib/BootManagerL
need to link vcruntime.lib and ucrt.lib. More detail is in
http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
Nt32Pkg/Sec/SecMain.inf | 6 +-
edk2 Edk2Setup.bat depends on those scripts to configure VS env.
Update them to support VS2015.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
BaseTools/Scripts/SetVisualStudio.bat | 5 +
BaseTools/Scripts/ShowEnvironme
need to link vcruntime.lib and ucrt.lib. More detail is in
http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
Nt32Pkg/Sec/SecMain.inf | 6 +-
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c | 342 +--
1 file changed, 171 insertions(+), 171 deletions(-)
diff --git a/MdePkg/Library/BaseIoLibInt
SmmBaseHelper uses the same name global variables to the one in
SmmMemoryAllocateLib. Update SmmBaseHelper to use SmmMemLib
SmmIsBufferOutsideSmmValid().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Compatibility/SmmBase
DnsDxe driver locates gEfiUdp4ProtocolGuid. Its usage should be TO_START.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
NetworkPkg/DnsDxe/DnsDxe.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Netw
UEFI2.1B corrects the guid value of gEfiManagedNetworkProtocolGuid.
ECP package updates its value in ManagedNetwork.h, but miss the one
in EdkIIGlueLib.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Library/EdkIIG
Update SmbiosGenDxe to use UefiHiiServicesLib.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
DuetPkg/SmbiosGenDxe/SmbiosGen.c | 11 ---
DuetPkg/SmbiosGenDxe/SmbiosGen.h | 1 +
DuetPkg/SmbiosGenDxe/SmbiosGen.inf |
Move the global variable definitions into source code instead of head filer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
DuetPkg/EfiLdr/EfiLdr.h| 3 ---
DuetPkg/EfiLdr/EfiLoader.c | 3 +++
2 files changed, 3 insertions
GCC adds the compiler options to detect the duplicated global variables.
Update the below modules to avoid it and pass GCC build.
Liming Gao (3):
DuetPkg: Fix GCC error to avoid the duplicated global variables in
EfiLdr
DuetPkg: Fix GCC error to avoid the duplicated global variable
-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c
b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c
index 3486737..adfc91c
DxeDebugAgentLib instance produces gEfiDebugAgentGuid system table.
Its usage should be PRODUCES instead of SOMETIMES_PRODUCES.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentL
HashLibBaseCryptoRouter sets PcdTcg2HashAlgorithmBitmap. Its usage
should be both SOMETIMES_CONSUMES and SOMETIMES_PRODUCES.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Library/HashLibBaseCrypto
Liming Gao (4):
SecurityPkg: Correct Pcd Usage PcdTcg2HashAlgorithmBitmap
SecurityPkg: Correct Pcd Usage PcdTpm2HashMask in Tcg2Pei
MdeModulePkg: Correct usage gEfiIp4Config2ProtocolGuid in Ip4Dxe
SourceLevelDebugPkg: Correct gEfiDebugAgentGuid usage in
DxeDebugAgentLib
MdeModulePkg
AtChipsetPkg, PerformancePkg,
IntelFrameworkModulePkg, IntelFrameworkPkg, CryptoPkg, IntelFspPkg,
IntelFspWrapperPkg and FatPkg can pass VS2015.
Ovmf can pass VS2015. Nt32 is failure in VS2015, still under investigation.
Other package owners can choose to fix or disable them in your own packages.
Liming Gao (
C4701 & C4703 may cause false positive issues.
They have been disabled in VS2013.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdePkg/Include/Ia32/ProcessorBind.h | 6 +++---
MdePkg/Include/X64/ProcessorBind.h | 6 +++--
warning C4456: declaration of 'q' hides previous local declaration.
Update code to use the different local variable name.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
Cc: El-Haj-Mahmoud Samer <samer.el-haj-mahm..
warning C4459: declaration of 'PrivateData' hides global declaration.
Update DriverSampleDxe to rename global variable name to be different.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
.../Universal/DriverSampleDxe/DriverSa
warning C4311: pointer truncation from 'void *' to 'unsigned long'
warning C4312: conversion from 'unsigned long' to 'void *' of greater size
Update code to convert type to UINTN first, then convert it to other type.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming
warning C4459: declaration of 'xs' hides global declaration.
Update code to rename local variable xs to xsp to be different.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
Cc: Justen Jordan <jordan.l.jus...@intel.com>
The BasePostCodeLibPort80 instance just prints UINT8 to IoPort 80. Some boards
may support 16bit or 32bit. To support them, new PCD PcdPort80DataWidth is
introduced to specify the width of data bits to Port80.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Print the optional build environment PACKAGES_PATH and EDK_TOOLS_BIN.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
BaseTools/Source/Python/build/build.py | 4
1 file changed, 4 insertions(+)
diff --git a/BaseTools/
When PACKAGES_PATH is set, ECP pkg may be in another directory, not exist
in WORKSPACE. So, keep this check in single WORKSPACE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
BaseTools/Source/Python/build/build.p
The BasePostCodeLibPort80 instance just prints UINT8 to IoPort 80. Some boards
may support 16bit or 32bit. To support them, new PCD PcdPort80DataWidth is
introduced to specify the width of data bits to Port80.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Use os.path.relpath to get the relative directory instead of directly trim it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
BaseTools/Source/Python/Common/MultipleWorkspace.py | 2 +-
1 file changed, 1 insertion(+), 1 de
Add new added MultipleWorkspace.py in the common dependency to freeze
python tools for Windows.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
BaseTools/Source/Python/Makefile | 1 +
1 file changed, 1 insertion(+)
diff
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
Maintainers.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Maintainers.txt b/Maintainers.txt
index 1a07314..acb717e 100644
--- a/Maintainers.txt
Update UPT to refer MultipleWorkspace class to convert
the file path from WORKSPACE and PACKAGES_PATH.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hesheng Chen <hesheng.c...@intel.com>
Reviewed-by: Liming Gao <liming@intel.com>
---
.../Pyt
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
Reviewed-by: Wu Hao A <hao.a...@intel.com>
---
BaseTools/Scripts/SetVisualStudio.bat | 2 +-
BaseTools/Scripts/ShowEnvironment.bat | 2 ++
Edk2Setup.bat
.
This feature still supports current working models. If you have the different
tree layout, you can configure PACKAGES_PATH to enable this feature.
Liming Gao (6):
BaseTools: Update Build tool to support multiple workspaces
BaseTools: Update UPT tool to support multiple workspaces
BaseTools
Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
Reviewed-by: Wu Hao A <hao.a...@intel.com>
---
BaseTools/toolsetup.bat | 150 +++-
edksetup.bat| 30 --
2 files changed, 122 insertions(+), 58 deleti
Fix one wrong offset which is passed into DES weak key checking in TdesInit().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long
CC: Jiaxin Wu
---
CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdes.c | 6 +++---
1 file
sure the free memory range not include the memory allocation hob.
CC: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming@intel.com>
---
MdeModulePkg/Core/Dxe/Gc
Liming Gao (3):
MdePkg: Add the missing module UNI files
MdeModulePkg: Add the missing module UNI files.
IntelFrameworkModulePkg: Ad the missing module UNI files.
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf| 1 +
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf| 1 +
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni| Bin 0 - 1800 bytes
.../LegacyBootManagerLib
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdeModulePkg/Application/UiApp/UiApp.inf | 6 +-
MdeModulePkg/Application/UiApp/UiApp.uni | Bin 0 - 1616 bytes
MdeModulePkg/Application/UiApp/UiAppExtra.uni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf | 1 +
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.uni | Bin 0 - 1942 bytes
2 files changed, 1 insertion(+)
create mode
If FDF FfsRule describes |.depex for depex file on source build, it may
be missed in the generated FD image. GenFds tool needs to check the
output file list and find the matched one.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
Reviewed
PcdGetValue(), it supports all PCD types and all PCD data types.
BaseTools generates PCD size macros in AutoGen code.
MdePkg PcdLib adds PcdGetSize() APIs to match those generated macros.
Modules use PcdGetSize() API to replace LibPcdGetSize() and LibPcdGetExSize()
APIs.
Liming Gao (6
Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
Reviewed-by: Star Zeng star.z...@intel.com
---
MdePkg/Include/Library/PcdLib.h| 83 +--
MdePkg/Library/BasePcdLibNull/PcdLib.c | 120 +++--
MdePkg/Library/DxePcdLib/DxePcdLib.c | 119
For patchable PCD, map SetPcdPtr() to LibPatchPcdSetPtrAndSize(),
then the size of the updated VOID* value can be cached.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
Reviewed-by: Star Zeng star.z...@intel.com
---
BaseTools/Source/Python
Patchable VOID* PCD set operation should map LibPatchPcdSetPtr()
and LibPatchPcdSetPtrS() API. This has been done when PCD is used
in driver, but not done when PCD is used in library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
Reviewed
PcdLib introduces new APIs to get the size of PCD value.
BaseTools generates those macros in AutoGen code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bob Feng bob.c.f...@intel.com
Reviewed-by: Star Zeng star.z...@intel.com
---
BaseTools/Source/Python/AutoGen/GenC.py |
Add below four PcdGetSize() API in PcdLib header file. They can be used
to get the size of PCD value.
FixedPcdGetSize()
PatchPcdGetSize()
PcdGetSize()
PcdGetExSize()
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
Reviewed-by: Star Zeng
PcdLib introduces generic API to get the size of VOID* PCD value.
Update Pei and Dxe RsaGuidedLib to use generic PCD API instead of GetEx API.
This change can remove PCD type limitation in these two libraries.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
For DynamicEx PCD, if NULL pointer is specified as token space GUID,
it will directly be used to compare GUID value in AutoGen code.
To avoid access NULL pointer, NULL pointer will be checked first.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming
UEFI2.5 and PI1.4 have been added in MdePkg. Update DEC and DSC version
to reflect those changes in MdePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdePkg/MdePkg.dec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
UEFI2.5 and PI1.4 have been added in MdePkg. Update DEC and DSC version
to reflect those changes in MdePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdePkg/MdePkg.dec | 2 +-
MdePkg/MdePkg.dsc | 2 +-
2 files changed, 2 insertions
Two new APIs LibPatchPcdSetPtrAndSize() and LibPatchPcdSetPtrAndSizeS()
are added to catch the size of the updated VOID* PCD value buffer, then
PcdGetSize() API can return the actual size.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
For patchable PCD, map SetPcdPtr() to LibPatchPcdSetPtrAndSize(),
then the size of the updated VOID* value can be cached.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
BaseTools/Source/Python/AutoGen/GenC.py | 8
1 file
PcdGetSize() APIs to match those generated macros.
Modules use PcdGetSize() API to replace LibPcdGetSize() and LibPcdGetExSize()
APIs.
Liming Gao (6):
BaseTools: Generate macro for the size of PCD value
BaseTools: Fix AutoGen issue for Patchable VOID* PCD.
BaseTools: Update SetPcdPtr in AutoGen
PcdLib introduces new APIs to get the size of PCD value.
BaseTools generates those macros in AutoGen code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bob Feng bob.c.f...@intel.com
---
BaseTools/Source/Python/AutoGen/GenC.py | 70 ++---
1
Patchable VOID* PCD set operation should map LibPatchPcdSetPtr()
and LibPatchPcdSetPtrS() API. This has been done when PCD is used
in driver, but not done when PCD is used in library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
-by: Liming Gao liming@intel.com
CC: Michael Kinney michael.d.kin...@intel.com
---
BaseTools/Conf/tools_def.template | 48 +++
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/BaseTools/Conf/tools_def.template
b/BaseTools/Conf/tools_def.template
. To support such usage, new PCD PcdShadowPeimOnBoot
is introduced to specify whether loads PEIM in memory by default.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 21
: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao liming@intel.com
---
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 21 ++---
MdeModulePkg/Core/Pei/Image/Image.c | 25 +
MdeModulePkg/Core/Pei/PeiMain.inf | 1
401 - 485 of 485 matches
Mail list logo