Use BasePeCoffLib PeCoffLoaderGetImageInfo() to check the PE/COFF image.
Cc: Jiewen Yao
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
SecurityPkg/SecurityPkg.dsc| 2 ++
.../SecureBootConfigDxe
The input PeImage in HashPeImage() has been checked.
Cc: Jiewen Yao
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Library/DxeImageVerificationLib/DxeImageVerificationLib.c| 5 -
1 file changed, 4 insertions(+), 1 deletion
Use BasePeCoffLib PeCoffLoaderGetImageInfo() to check the PE/COFF image.
Cc: Jiewen Yao
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
SecurityPkg/Tcg/TrEEDxe/MeasureBootPeCoff.c | 22 +-
SecurityPkg/Tcg/TrEEDxe
Cc: Jeff Fan
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
b/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
index
NASM is used as the default assembly source file.
Liming Gao (2):
UefiCpuPkg CpuIo2Dxe: Update INF to refer to NASM source file
UefiCpuPkg CpuMpPei: Update INF to refer to NASM source file
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf | 12 +---
UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 10
Cc: Jeff Fan
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.inf b/UefiCpuPkg/CpuMpPei/CpuMpPei.inf
index 445caf9
Cc: Jeff Fan
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
UefiCpuPkg/SecCore/SecCore.inf | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf
index bf08a4c..4e598cb
Keep NASM file only for new added modules.
Cc: Jiewen Yao
Cc: Giri Mudusuru
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../BaseFspSwitchStackLib.inf | 2 -
.../Library/BaseFspSwitchStackLib/Ia32/Stack.asm | 77
Keep NASM file only for new added modules.
Cc: Jiewen Yao
Cc: Giri Mudusuru
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../SecFspSecPlatformLibNull/Ia32/Flat32.asm | 131 -
.../Library/SecFspSecPlatformLibNull/Ia32/Flat32.s
Keep NASM file only for new added modules.
Cc: Jiewen Yao
Cc: Giri Mudusuru
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../BaseFspDebugLibSerialPort.inf | 2 --
.../BaseFspDebugLibSerialPort/Ia32/FspDebug.asm| 34
Keep NASM file only for new added modules.
Cc: Jiewen Yao
Cc: Giri Mudusuru
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Ia32/PeiCoreEntry.S| 130
.../Ia32/PeiCoreEntry.asm | 140
.
Here, I would like to propose to add NASM only for IA32 and X64 assembly files
in new modules and packages. If there is the real request for MASM or GAS,
we can consider to add them later.
Liming Gao (5):
IntelFsp2WrapperPkg BaseFspWrapperApiLib: Remove MASM/GAS files
IntelFsp2WrapperPkg
Keep NASM file only for new added modules.
Cc: Jiewen Yao
Cc: Giri Mudusuru
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf | 2 -
.../Library/BaseFspWrapperApiLib/X64/Thunk64To32.S | 230
RUNTIME_MEMORY_STATUSCODE_HEADER has been moved into MdeModulePkg public header
file Include/Guid/MemoryStatusCodeRecord.h. It should be removed from the
driver.
Cc: Cinnamon Shia
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Universal/StatusCode
Liming Gao (2):
PcAtChipsetPkg: Add two PCDs for Reset Control Register and Value
PcAtChipsetPkg: Update ResetSystemLib with PCDs
PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | 6 +++---
PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.inf | 6 +-
PcAtChipsetPkg
PcdResetControlRegister for Reset Control Register address.
PcdResetControlValueColdReset for Reset Control Register code reset value.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
PcAtChipsetPkg/PcAtChipsetPkg.dec | 8
PcAtChipsetPkg
Update ResetSystemLib with PCDs for Reset Control Register and Value
instead of hard code 0x64 and 0xFE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | 6 +++---
PcAtChipsetPkg/Library
ser wants this
behavior, he can still configure PcdUserPhysicalPresence value to TRUE in
the platform DSC file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../PlatformSecureLibNull/PlatformSecureLibNull.c |
This PCD supports all configuration type. Its default value is FALSE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
SecurityPkg/SecurityPkg.dec | 6 ++
SecurityPkg/SecurityPkg.uni | 9 +
2 files changed, 15 insertions(+)
diff --git a
Liming Gao (2):
SecurityPkg: Add PcdUserPhysicalPresence to indicate use physical
presence.
SecurityPkg: Update PlatformSecureLibNull with PCD to get physical
presence.
.../PlatformSecureLibNull/PlatformSecureLibNull.c | 29 --
.../PlatformSecureLibNull.inf
-off-by: Liming Gao
Cc: Marvin Haeuser
---
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 1 -
MdeModulePkg/Core/Pei/PeiMain.h | 1 -
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
b/MdeModulePkg/Core/Dxe
These patches are available in https://github.com/lgao4/edk2.git nasm-v1.
The nasm-v1 branch sha1 is 42bec457c575b6cb7c9fc1730cbea263ffce7b1c
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Signed-off-by: Jordan Justen
These patches base on previous patches
GenFds GenSection will search the output file based on the file extension.
If the output file has no extension, it should be skip.
Cc: Andrew Fish
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
BaseTools/Source/Python/GenFds/Section.py | 2 +-
1 file
ned-off-by: Yonghong Zhu
Reviewed-by: Liming Gao
Reviewed by: Andrew Fish
---
BaseTools/Source/Python/build/build.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/BaseTools/Source/Python/build/build.py
b/BaseTools/Source/Python/build/build.py
index 07891da..4f859bf 100644
--- a/Bas
Cc: Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdePkg/Include/Protocol/StatusCode.h | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/MdePkg/Include/Protocol/StatusCode.h
b/MdePkg/Include/Protocol
FixedPcdGet32() limits PcdPeiCoreMaxFvSupported type as FixedAtBuild.
PcdGet32() allows PCD be configured as FixedAtBuild or PatchableInModule.
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 10
ected 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
Cc: Ard Biesheuvel
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Core/Dxe/Mem/Pool.c | 2 +-
1 file chang
Cc: Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf | 3 +++
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.uni | 8 +++-
2 files changed, 6 insertions(+), 5 deletions(-)
diff
This library instance is PEIM type, not BASE type. It has the PPI
dependency for PEIM.
Cc: Feng Tian
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../PlatformHookLibSerialPortPpi/PlatformHookLibSerialPortPpi.inf | 4 ++--
1 file changed, 2
V2: Update VariableSmm inf to align the change in VariableRuntimeDxe.inf.
Cc: Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Library/VarCheckUefiLib/VarCheckUefiLib.inf| 78 +++---
.../Variable/RuntimeDxe
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
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei
Use BaseMemoryLib ZeroMem replace memset function.
Cc: Michael Kinney
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a
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
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Library/DxeCorePerformanceLib
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
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdePkg/Include/Library/PerformanceLib.h | 4
Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 5 ++---
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c | 5 ++---
MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 5 ++---
3 files changed, 6
If EDK_TOOLS_PATH is set, then not set it again.
If EDK_TOOLS_PATH is not set, then set it.
Cc: Yonghong Zhu
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
edksetup.bat | 30 --
1 file changed, 16 insertions(+), 14 deletions
Cc: Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Library/VarCheckUefiLib/VarCheckUefiLib.inf| 78 +++---
.../Variable/RuntimeDxe/VariableRuntimeDxe.inf | 10 +--
2 files changed, 44 insertions(+), 44 deletions
Update TCG and Library module uses gEdkiiVariableLockProtocolGuid
as SOMETIMES_CONSUMES instead of CONSUMES to follow the code logic.
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../DxeTcg2PhysicalPresenceLib
Cc: Jaben Carsey
Cc: Shumin Qiu
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
ShellPkg/Application/Shell/Shell.inf | 10 -
.../UefiHandleParsingLib/UefiHandleParsingLib.inf | 24 +++---
.../UefiShellCommandLib
Liming Gao (3):
SecurityPkg: Update protocol usage in module INF files.
ShellPkg: Update Guid/Protocol usages in INF files.
MdeModulePkg: Update Guid/Protocol usages in INF files.
.../Library/VarCheckUefiLib/VarCheckUefiLib.inf| 78 +++---
.../Variable/RuntimeDxe
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
---
MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 31
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 print routine does
not re
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Universal/SerialDxe/SerialDxe.inf | 4
1 file changed, 4 insertions(+)
diff --git a/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
b/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
index
Update DnsDxe and HttpUtilitiesDxe inf files.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
NetworkPkg/DnsDxe/DnsDxe.inf | 5 +++--
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf | 5 +++--
2 files changed, 6 insertions(+), 4
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../BmpImageDecoderLib/BmpImageDecoderLib.inf | 1 +
.../BmpImageDecoderLib/BmpImageDecoderLib.uni | 26 ++
MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf | 1 +
MdeModulePkg
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../BootMaintenanceManagerLib.inf | 1 +
.../BootMaintenanceManagerLib.uni | 26 ++
.../Library/BootManagerLib/BootManagerLib.inf | 1 +
.../Library
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
---
.../IntelFrameworkModulePkg.uni| 26 +-
1 file changed, 1
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../RegularExpressionDxe/RegularExpressionDxe.inf | 3 +++
.../RegularExpressionDxe/RegularExpressionDxe.uni | 26 ++
.../RegularExpressionDxeExtra.uni | 18
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
---
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf | 4 +++
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni | 40 +++
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni | 20 ++
3 files
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Library/BaseIpmiLibNull/BaseIpmiLibNull.inf| 1 +
.../Library/BaseIpmiLibNull/BaseIpmiLibNull.uni| 25 ++
.../DxeIpmiLibIpmiProtocol.inf | 1
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
---
BaseTools/Scripts/SetVisualStudio.bat | 5 +
BaseTools/Scripts/ShowEnvironment.bat | 19
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
---
Nt32Pkg/Sec/SecMain.inf | 6 +-
1 file changed, 5 insertions
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
---
Nt32Pkg/Sec/SecMain.inf | 6 +-
1 file changed, 5 insertions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c | 342 +--
1 file changed, 171 insertions(+), 171 deletions(-)
diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c
b/MdePkg/Library
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
---
.../Compatibility/SmmBaseHelper/SmmBaseHelper.c| 84
Move the global variable definitions into source code instead of head filer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
DuetPkg/EfiLdr/EfiLdr.h| 3 ---
DuetPkg/EfiLdr/EfiLoader.c | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
Update SmbiosGenDxe to use UefiHiiServicesLib.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
DuetPkg/SmbiosGenDxe/SmbiosGen.c | 11 ---
DuetPkg/SmbiosGenDxe/SmbiosGen.h | 1 +
DuetPkg/SmbiosGenDxe/SmbiosGen.inf | 1 +
3 files changed, 2
SmmBaseHelper uses the same name global variables to the one in
SmmMemoryAllocateLib. Update SmmBaseHelper to use the specific one.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
.../Compatibility/SmmBaseHelper/SmmBaseHelper.c | 16
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 in
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
---
.../Library/EdkIIGlueLib/EntryPoints
DnsDxe driver locates gEfiUdp4ProtocolGuid. Its usage should be TO_START.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
NetworkPkg/DnsDxe/DnsDxe.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NetworkPkg/DnsDxe/DnsDxe.inf b
1.0
Signed-off-by: Liming Gao
---
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 100644
--- a/MdeModulePkg/Cor
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
---
SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf | 2 +-
1 file
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
---
.../Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf| 4
Ip4Dxe driver installs gEfiIp4Config2ProtocolGuid.
Its usage should be BY_START.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
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
Tcg2Pei sets PcdTpm2HashMask. Its usage should be both SOMETIMES_CONSUMES
and SOMETIMES_PRODUCES.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a
From: Daocheng Bu
Add Ipmi2.0 definitions head file based on Ipmi category:
App, Storage and etc.
In V2, correct #include IndustryStandard/IpmiNetFnSensorEventDefinitions.h,
and remove trailing space.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daocheng Bu
Reviewed-b
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
Cc: Justen Jordan
---
OvmfPkg/XenBusDxe/XenStore.c | 14 +++---
1 fi
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 Contribu
Warning C4311: pointer truncation from 'type' to 'type'.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Cc: Long Qin
---
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
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
Cc: El-Haj-Mahmoud Samer
---
.../Universal/RegularExpressionDxe/Oniguruma/regexe
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
---
.../Universal/DriverSampleDxe/DriverSample.c
, NetworkPkg,
SecurityPkg, ShellPkg, SourceLevelDebugPkg, PcAtChipsetPkg, 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
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
---
MdePkg/Include/Ia32/ProcessorBind.h | 6 +++---
MdePkg/Include/X64/ProcessorBind.h | 6 +++---
2 files changed, 6 insert
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Yu
Reviewed-by: Liming Gao
---
BaseTools/Conf/tools_def.template | 519 +-
edksetup.bat | 38 +--
2 files changed, 536 insertions(+), 21 deletions(-)
diff --git
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
---
BaseTools/Source/Python/build/build.py | 4
1 file changed, 4 insertions(+)
diff --git a/BaseTools/Source/Python/build/build.py
b
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
---
BaseTools/Source/Python/build/build.py | 22 --
1 file
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
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
---
BaseTools/Source/Python/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/BaseTools/Source/Python
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
---
BaseTools/Source/Python/Common/MultipleWorkspace.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
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
+++ b/Maintainers.txt
@@ -68,7 +68,8
CE and PACKAGES_PATH.
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 wo
Update ECC to refer MultipleWorkspace class to convert
the file path from WORKSPACE and PACKAGES_PATH.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Li YangX
Reviewed-by: Liming Gao
---
BaseTools/Source/Python/Ecc/Check.py | 13 +
BaseTools/Source
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Reviewed-by: Wu Hao A
---
BaseTools/Scripts/SetVisualStudio.bat | 2 +-
BaseTools/Scripts/ShowEnvironment.bat | 2 ++
Edk2Setup.bat | 64 +--
3 files
2
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Li YangX
Reviewed-by: Liming Gao
---
BaseTools/Source/Python/AutoGen/AutoGen.py | 16 +--
BaseTools/Source/Python/AutoGen/GenMake.py | 4 +-
BaseTools/Source/Python/Common/EdkIIWorkspace.py | 3 +-
Bas
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
Reviewed-by: Wu Hao A
---
BaseTools/BuildEnv | 66 --
edksetup.sh| 19 +---
2 files changed, 65 insertions(+), 20 deletions(-)
diff --git a
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
Reviewed-by: Liming Gao
---
.../Python/UPT/Core/DistributionPackageClass.py| 26
Contribution Agreement 1.0
Signed-off-by: Liming Gao
Reviewed-by: Wu Hao A
---
BaseTools/toolsetup.bat | 150 +++-
edksetup.bat| 30 --
2 files changed, 122 insertions(+), 58 deletions(-)
diff --git a/BaseTools/toolsetup.bat b/BaseTools
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 changed, 3 insertions(+), 3 deletions(-)
diff --
sure the free memory range not include the memory allocation hob.
CC: Benjamin Herrenschmidt
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 47 -
1 file changed, 46 insertions(+), 1
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
---
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf| 1 +
.../LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni| Bin 0 -> 1800 bytes
.../LegacyBootManagerLib/LegacyBootManagerLib.inf|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdeModulePkg/Application/UiApp/UiApp.inf | 6 +-
MdeModulePkg/Application/UiApp/UiApp.uni | Bin 0 -> 1616 bytes
MdeModulePkg/Application/UiApp/UiAppExtra.uni | Bin 0 -> 1296
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
---
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf | 1 +
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.uni | Bin 0 -> 1942 bytes
2 files changed, 1 insertion(+)
create mode 100644 MdePkg/Libr
CoreInitializeMemoryServices() will essentially pickup a piece of memory out
of *any* memory descriptor HOB completely ignoring the memory allocation HOBs.
This change considers memory allocation hobs in this API.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao
401 - 500 of 521 matches
Mail list logo