<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdePkg/Library/BaseFdtLib, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-06-04T06:55:42+00:00</updated>
<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>
<entry>
<title>MdePkg/MockFdtLib: add FdtLib mock functions</title>
<updated>2025-10-06T18:08:45+00:00</updated>
<author>
<name>Bob Morgan</name>
<email>bobm@nvidia.com</email>
</author>
<published>2025-09-17T00:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f98662c5e35b6ab60f46ee4350fa0e6eab0497cf'/>
<id>urn:sha1:f98662c5e35b6ab60f46ee4350fa0e6eab0497cf</id>
<content type='text'>
Add FdtDelNode() and FdtGetPath() mock functions.

Signed-off-by: Bob Morgan &lt;bobm@nvidia.com&gt;
</content>
</entry>
<entry>
<title>MdePkg/BaseFdtLib: Remove unused macros and string APIs</title>
<updated>2025-08-26T19:28:08+00:00</updated>
<author>
<name>Thamballi Sreelalitha</name>
<email>sreelali@qti.qualcomm.com</email>
</author>
<published>2025-08-06T08:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a56c2eb07e5bab558d0d52d7f9c297c5b566c325'/>
<id>urn:sha1:a56c2eb07e5bab558d0d52d7f9c297c5b566c325</id>
<content type='text'>
Removed legacy macros and string helper APIs that are no longer used
in the BaseFdtLib implementation. Specifically:
- Dropped strcmp macro that incorrectly expected 3 arguments but
  ignored the third parameter.
- Cleaned up other unused macros and redundant string APIs.

These changes align with the current upstream libfdt module and
reduce dead code.

Signed-off-by: Thamballi Sreelalitha &lt;sreelali@qti.qualcomm.com&gt;
</content>
</entry>
</feed>
