<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdePkg/Library/BaseFdtLib, 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/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/BaseFdtLib: Add FdtStringListCount and FdtStringListSearch wrappers</title>
<updated>2026-06-04T06:55:42+00:00</updated>
<author>
<name>Thamballi Sreelalitha</name>
<email>sreelali@qti.qualcomm.com</email>
</author>
<published>2026-05-29T15:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d39a7ed7579d2fb056644aa38cae3ae64e89c1c8'/>
<id>urn:sha1:d39a7ed7579d2fb056644aa38cae3ae64e89c1c8</id>
<content type='text'>
Add UEFI-native wrappers for libfdt string list count and search APIs.

Signed-off-by: Thamballi Sreelalitha &lt;sreelali@qti.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Header style update to FdtOverlayApply and</title>
<updated>2026-03-24T13:24:38+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-03-17T17:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1574cd37a2ab112f42b6cf07160a29b482878c9b'/>
<id>urn:sha1:1574cd37a2ab112f42b6cf07160a29b482878c9b</id>
<content type='text'>
FdtStrerror

Update the FdtOverlayApply() function to mark the Fdt pointer
as an IN OUT variable. The internal fdt_overlay_apply() function
returns the merged blob in the Fdt variable.

Update FdtStrerror to have it's return type on a single line, aligning
the style with the rest of the file.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: FdtGetName, FdtGetPath</title>
<updated>2026-03-24T13:24:38+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-03-17T17:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4afb3886396a72618269fa549e92a796e4ffcb2b'/>
<id>urn:sha1:4afb3886396a72618269fa549e92a796e4ffcb2b</id>
<content type='text'>
Update FdtGetName() and FdtGetPath() to correctly mark the VOID *Fdt
as a CONST variable. This aligns with the internal libfdt
implementation.

Update MockFdtLib.h to align with the updated inputs for FdtGetName()
and FdtGetPath().

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Implement new libfdt wrappers</title>
<updated>2026-03-24T13:24:38+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-03-12T21:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=74a65f6b914d125190fbe2f71dc3331238ef4918'/>
<id>urn:sha1:74a65f6b914d125190fbe2f71dc3331238ef4918</id>
<content type='text'>
Add support for the define FdtForEachPropertyOffset and
FdtFindMaxPhandle() wrappers.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T18:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7835e5802a2a70984333c054002e449bfd1f0a0d'/>
<id>urn:sha1:7835e5802a2a70984333c054002e449bfd1f0a0d</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/Library/BaseFdtLib: Fix VS2022 NOOPT IA32 issues</title>
<updated>2026-01-21T03:46:30+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-01-19T19:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9ff5bf99f484267fd48cc061fb7f5fa41b3f194d'/>
<id>urn:sha1:9ff5bf99f484267fd48cc061fb7f5fa41b3f194d</id>
<content type='text'>
VS2022 NOOPT IA32 builds of BaseFdtLib introduce use of
intrinsics __allshl and __aullshr from the libfdt submodule
that can not be modified.  Add the implementation of
__allshl and __aullshr intrinsics from from the CryptoPkg
to BaseFdtLib.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Add more wrappers</title>
<updated>2026-01-21T01:11:16+00:00</updated>
<author>
<name>Mario Bălănică</name>
<email>mariobalanica02@gmail.com</email>
</author>
<published>2025-12-05T12:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=74c508abe8dd57ec713e0d2aec9cc8a5cec4d57b'/>
<id>urn:sha1:74c508abe8dd57ec713e0d2aec9cc8a5cec4d57b</id>
<content type='text'>
Add FDT_HEADER field accessors and FdtOverlayApply() wrapper.

Signed-off-by: Mario Bălănică &lt;mariobalanica02@gmail.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Add FdtGetPhandle wrapper</title>
<updated>2025-10-13T10:45:45+00:00</updated>
<author>
<name>Sarah Walker</name>
<email>Sarah.Walker2@arm.com</email>
</author>
<published>2025-09-03T09:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=549b473b2326891fb051cb7cd646808d764f8448'/>
<id>urn:sha1:549b473b2326891fb051cb7cd646808d764f8448</id>
<content type='text'>
Add wrapper for fdt_get_phandle().

Signed-off-by: Sarah Walker &lt;Sarah.Walker2@arm.com&gt;
</content>
</entry>
</feed>
