35651 Commits

Author SHA1 Message Date
Yang Gang
2bfde627ff ShellPkg/SmbiosView: Support print Protocol Records of SMBIOS type42
SmbiosView tool changes for Protocol Records info decode and print.

This commit adds the following decoding functionality:
First, it prints the `MCHostInterfaceProtocol Number`,
then print the `ProtocolType` with the prefix #x(0 based index),
and finally dump `ProtocolTypeData` as hex.

Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
2026-03-06 08:35:45 +00:00
Kun Qin
1fe2504afb StandaloneMmPkg: StandaloneMmIplPei: Guard S3 hob with PcdAcpiS3Enable
The current module checks the value of gEfiAcpiVariableGuid hobs and
could assert if there is no such hob available.

However, these hobs are only available if a platform elects to support
S3. Thus this change moves the hob copy logic behind a PCD check to
prevent unnecessary asserts.

Signed-off-by: Kun Qin <kuqin12@gmail.com>
2026-03-05 02:49:28 +00:00
Sherry Fan
90cb1661bd .markdownlint: Add ignore and settings
Add .markdownlint.yaml for mdlint settings and add ignores (build
outputs and external dependencies).

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
Sherry Fan
f1e6f26e92 EmbeddedPkg: fix mdlint issues
Fix markdownlint formatting issues in README.

Uses the following settings:
{
  "default": true,
  "MD013": {"line_length": 120, "code_blocks": false, "tables": false},
  "MD033": {"allowed_elements": ["br", "center", "img"]}
}

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
Sherry Fan
fda4926b08 UnitTestFrameworkPkg: fix mdlint issues
Fix markdownlint formatting issues in README.

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
Sherry Fan
77d25a6b84 MdePkg: fix mdlint issues
Fix markdownlint formatting issues in README. Ignore `mipisyst`
markdownlint since it is a separate public repo outside of the edk2
ecosystem.

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
Sherry Fan
7e5cc68f1e MdeModulePkg: fix mdlint issues
Fix markdownlint formatting issues in READMEs.

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
Sherry Fan
75cce8c66f BaseTools: fix mdlint issues
Fix markdownlint formatting issues in READMEs.

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
rdiaz
a39c3835aa MdeModulePkg: Add FFA_NS_RES_INFO_GET to ArmFfaCommon
Add FFA_NS_RES_INFO_GET implementation to ArmFfaCommon

Signed-off-by: Raymond Diaz <raymonddiaz@microsoft.com>
2026-03-04 01:22:07 +00:00
Raymond-MS
a55b794269 MdePkg: Add FFA_NS_RES_INFO_GET to Arm header
FFA_NS_RES_INFO_GET is a new command introduced in FF-A v1.3. Updating
the ArmFfaSvc header to include the new command ID.

Signed-off-by: Raymond Diaz <raymonddiaz@microsoft.com>
2026-03-04 01:22:07 +00:00
Michael D Kinney
035d8c7d18 EmulatorPkg: Add /NODEFAULTLIB:LIBCMT to remove warning
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2026-03-02 20:52:50 +00:00
Alexander Gryanko
27528b48db ShellPkg: fix UNI string formatting and line endings to match UNI Spec
Changes include:
* Added missing \r\n line endings inside string literals
* Fixed inconsistent indentation in multi-line string entries
* Removed duplicated #language en-US directive
* Aligned string formatting to match the UNI specification

Updated files:
ShellPkg/DynamicCommand/HttpDynamicCommand/Http.uni
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni

The issues were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
b56710fe9c EmbeddedPkg: align Inf file headers with INF Spec standard
The Inf file standard specifies that comments begin with the
characters "#". The following files contained incorrectly
formatted C-style comments and have been updated:

EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
47204fbe6a PrmPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

PrmPkg/Application/PrmInfo/PrmInfoStrings.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
6bbf3cbfe6 OvmfPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/PhysicalPresenceStrings.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
ad44b8d552 ShellPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
201a4fe3ec SecurityPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni
SecurityPkg/Library/DxeTcgPhysicalPresenceLib/PhysicalPresenceStrings.uni
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigStrings.uni
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigStrings.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
7347c32f65 NetworkPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

NetworkPkg/Application/VConfig/VConfigStrings.uni
NetworkPkg/HttpBootDxe/HttpBootConfigStrings.uni
NetworkPkg/Ip6Dxe/Ip6DxeStrings.uni
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxeStrings.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
70bddc908f EmbeddedPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefHii.uni
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformHii.uni
EmbeddedPkg/Drivers/MemoryAttributeManagerDxe/MemoryAttributeManagerDxeHii.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Alexander Gryanko
83296834f0 ArmPkg: align UNI file headers with UNI Spec standard
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly formatted
C-style comments and have been updated:

ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClassStrings.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxeStrings.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendor.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturer.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturer.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturer.uni
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguages.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
2026-03-02 19:32:17 +00:00
Khalid Ali
0316ce68ba Maintainers.txt: Add myself as reviewer to MdeModulePkg
Add `Khalid Ali` as reviewer for PEI,DXE and SMM related code.

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
2026-03-02 18:19:54 +00:00
Star Zeng
37db80097d StandaloneMmPkg Core: Treat no DEPEX as TRUE
Treat no DEPEX as TRUE, then the DEPEX section can be
eliminated if a driver can be assured to have no
DEPEX needed.

Signed-off-by: Star Zeng <star.zeng@intel.com>
2026-03-02 15:00:09 +00:00
Bret Barkelew
d85a9c6e23 SecurityPkg: Make TPM2_Startup() return an error
The TPM2_Startup() function is called in the Tcg2Pei driver to start the
TPM. The function is expected to return an error if the TPM is not in
the correct state.

Signed-off-by: Bret Barkelew <brbarkel@microsoft.com>
2026-03-02 07:26:21 +00:00
Bret Barkelew
673842aefc SecurityPkg: Check for Tpm2GetCapabilitySupportedAndActivePcrs()
This replaces a assert for a proper runtime check for the status of
Tpm2GetCapabilitySupportedAndActivePcrs()

Signed-off-by: Bret Barkelew <brbarkel@microsoft.com>
2026-03-02 07:26:21 +00:00
Bret Barkelew
e412a892b3 SecurityPkg: Add Debug Message to show the TPM2 PCR bank info
Add a debug message to show the TPM2 PCR bank info in Tcg2Dxe.
Prints out both the TpmHashalgorithmBitmap and the Pcr banks.

Signed-off-by: Bret Barkelew <brbarkel@microsoft.com>
2026-03-02 07:26:21 +00:00