<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdePkg/Library, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-21T11:28:06+00:00</updated>
<entry>
<title>MdePkg/BaseFdtLib: Update libfdt submodule</title>
<updated>2026-09-21T11:28:06+00:00</updated>
<author>
<name>Vishal Oliyil Kunnil</name>
<email>vishalo@qti.qualcomm.com</email>
</author>
<published>2026-09-15T17:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9ae62a9c4690263385697cad8d6d4e26ca9b113d'/>
<id>urn:sha1:9ae62a9c4690263385697cad8d6d4e26ca9b113d</id>
<content type='text'>
Update libfdt submodule to commit f48b965 of pylibfdt.

Repo: https://github.com/devicetree-org/pylibfdt
Commit: f48b965

This moves to dtc v1.7.2-24-gf4c53f4ebf78.

Signed-off-by: Vishal Oliyil Kunnil &lt;vishalo@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BasePrintLib: Limit UCS-2 to ASCII conversion to Latin-1</title>
<updated>2026-09-21T08:46:42+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2026-09-12T13:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5ccee5217c6de6173448920aa0280474b4f44a14'/>
<id>urn:sha1:5ccee5217c6de6173448920aa0280474b4f44a14</id>
<content type='text'>
Only ASCII and Latin-1 characters can be cast between CHAR8 and CHAR16
transparently, other characters in the UCS-2 set cannot be represented
at all.

So when handling the %s conversion while generating a narrow string,
replace characters outside of the Latin-1 range with a '?' character
instead of producing garbage output, which may truncate the output
string inadvertently if the UCS-2 low byte happens to equal \0.

When the input and output character widths are the same, the encoding
does not matter and the input can simply be copied to the output.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Use BaseLib strrchr/strtoul, drop LibFdtWrapper.c</title>
<updated>2026-09-15T10:49:49+00:00</updated>
<author>
<name>Vishal Oliyil Kunnil</name>
<email>vishalo@qti.qualcomm.com</email>
</author>
<published>2026-08-28T23:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=81d3038813d32f94322226a21bf6f3d291a7d194'/>
<id>urn:sha1:81d3038813d32f94322226a21bf6f3d291a7d194</id>
<content type='text'>
Point the strrchr and strtoul macros in LibFdtSupport.h at the new
AsciiStrRChr() and AsciiStrToUintn() BaseLib APIs instead of the
private fdt_strrchr()/fdt_strtoul() implementations. This removes
duplicated logic and picks up the overflow-detection already present
in the underlying AsciiStrHexToUintnS()/AsciiStrDecimalToUintnS()
conversion routines.

LibFdtWrapper.c is now empty of purpose and is removed, along with
its entry in BaseFdtLib.inf.

Signed-off-by: Vishal Oliyil Kunnil &lt;vishalo@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseLib: Add AsciiStrToUintn and AsciiStrToUint64</title>
<updated>2026-09-15T10:49:49+00:00</updated>
<author>
<name>Vishal Oliyil Kunnil</name>
<email>vishalo@qti.qualcomm.com</email>
</author>
<published>2026-08-28T23:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f443364513d9f65c793563a324cbc5580ce35a69'/>
<id>urn:sha1:f443364513d9f65c793563a324cbc5580ce35a69</id>
<content type='text'>
Add AsciiStrToUintn() and AsciiStrToUint64() to BaseLib. These are
thin wrappers that dispatch to the existing AsciiStrHexToUintnS()/
AsciiStrDecimalToUintnS() (and UINT64 equivalents) based on Base,
which must be 0 (auto-detect via a "0x"/"0X" prefix), 10, or 16.
No new radix-parsing logic is introduced; the existing conversion
routines already cover the bases actually used in practice.

Signed-off-by: Vishal Oliyil Kunnil &lt;vishalo@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseLib: Add AsciiIsSpace</title>
<updated>2026-09-15T10:49:49+00:00</updated>
<author>
<name>Vishal Oliyil Kunnil</name>
<email>vishalo@qti.qualcomm.com</email>
</author>
<published>2026-08-28T23:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=19d198baace6c9b5582d59471ecad6336ca255e0'/>
<id>urn:sha1:19d198baace6c9b5582d59471ecad6336ca255e0</id>
<content type='text'>
Add AsciiIsSpace() to BaseLib, which checks whether an ASCII
character is a space character as defined by the ISO C isspace()
function. This will be used to implement AsciiStrToUintn() and
AsciiStrToUint64().

Signed-off-by: Vishal Oliyil Kunnil &lt;vishalo@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseLib: Add AsciiStrRChr</title>
<updated>2026-09-15T10:49:49+00:00</updated>
<author>
<name>Vishal Oliyil Kunnil</name>
<email>vishalo@qti.qualcomm.com</email>
</author>
<published>2026-08-28T23:20:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ff77d74ab52590846591427ee35fea75d583c484'/>
<id>urn:sha1:ff77d74ab52590846591427ee35fea75d583c484</id>
<content type='text'>
Add AsciiStrRChr() to BaseLib, which returns the last occurrence of
a character in a Null-terminated ASCII string. This mirrors the
existing AsciiStrStr() API style and provides a reusable
implementation for consumers that currently hand-roll this logic.

Signed-off-by: Vishal Oliyil Kunnil &lt;vishalo@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/CompilerIntrinsicsLib: Fix IA32 with VS202x</title>
<updated>2026-09-11T17:37:25+00:00</updated>
<author>
<name>Marc Chen</name>
<email>marc.chen@microsoft.com</email>
</author>
<published>2026-09-10T18:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fc428a1dab3555d539404b8618a9519fe6105f1b'/>
<id>urn:sha1:fc428a1dab3555d539404b8618a9519fe6105f1b</id>
<content type='text'>
CompilerIntrinsicsLib is causing a #UD when used in IA32 mode.

This was tracked back to memcpy using size_t, which locally
defined in the file as __int64. When compiling for IA32 target,
this results in the memcpy interpreting 64 bits from the
calling convention instead of the 32 bits that were passed.

Update the local size_t defines to use UINTN. This matches
the functionality from CryptoPkg's Intrinsic functions.

Add CompilerIntrinsics to IA32/X64 component so it is complied
as part of CI.

Add size_t as ECC check exclusion to MdePkg.ci.yaml.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: ArmFfaMemMgmtLib: Fix ECC check failures</title>
<updated>2026-09-06T10:12:38+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-07-30T08:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=263242774a10ce0db7162663eb801aa5a0b3cc7d'/>
<id>urn:sha1:263242774a10ce0db7162663eb801aa5a0b3cc7d</id>
<content type='text'>
This change fixes some ECC check failures around the usage of doxygen
keywords.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: UnitTestHostBaseLib: Support reading CNTPCT_EL0, ID_AA64ISAR0_EL1</title>
<updated>2026-09-06T10:12:38+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-07-30T00:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f3118dd3f7fa6fd352143cca025775f5d4a9da95'/>
<id>urn:sha1:f3118dd3f7fa6fd352143cca025775f5d4a9da95</id>
<content type='text'>
This change adds the support of reading CNTPCT_EL0 and ID_AA64ISAR0_EL1
through current BaseLib definition.

This paves way to allow the linkage of these functions needed on other
host based unit tests.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: UnitTestHostBaseLib: Clean up source entries</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-05-01T20:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=668b5d7bb7f9bf90412110fae420dc15fd580b58'/>
<id>urn:sha1:668b5d7bb7f9bf90412110fae420dc15fd580b58</id>
<content type='text'>
The existing UnitTestHostBaseLib has some source entries that are either
redundant or for unsupported architectures.

This change consolidated the redundant entries and removed the entries
for unsupported architectures.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
</feed>
