<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Include/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-29T13:27:06+00:00</updated>
<entry>
<title>ArmVirtPkg, MdeModulePkg: Move Arm CCA Library to MdeModulePkg</title>
<updated>2026-09-29T13:27:06+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2026-06-04T16:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d45393dc7747cb079fa67924ac61007ee8e89062'/>
<id>urn:sha1:d45393dc7747cb079fa67924ac61007ee8e89062</id>
<content type='text'>
ArmCcaLib provides helper functions for detecting Realm execution state
and caching Realm IPA width. These helpers build on the architectural Arm
CCA RSI library and are not specific to ArmVirtPkg.

Therefore, move ArmCcaLib, ArmCcaLibNull, their public header, and related
GUID declarations to MdeModulePkg. Update ArmVirtPkg library mappings and
consumers to use the new MdeModulePkg library instances.

Also perform minor non-functional cleanup to the moved INF files by
fixing a comment typo and ordering the package dependencies.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>ArmVirtPkg, MdeModulePkg: Move Arm CCA RSI library to MdeModulePkg</title>
<updated>2026-09-29T13:27:06+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2026-06-04T16:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=72fa3af90beeee7690ab4626fd372e0baa830fa4'/>
<id>urn:sha1:72fa3af90beeee7690ab4626fd372e0baa830fa4</id>
<content type='text'>
The Arm Confidential Compute AArchitecture (CCA) Realm Service
Interface (RSI) is a standard interface that an Arm CCA Realm
Guest VM can utilise to request services from the Arm CCA Realm
Management Monitor (RMM).

The Arm CCA Realm Service Interface is architectural Realm guest
functionality rather than ArmVirt platform-specific code.

Therefore, move ArmCcaRsiLib and its public header to MdeModulePkg,
declare the library class there, and update ArmVirtPkg consumers
to use the new library instance path.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Add EFIAPI to GptLib functions</title>
<updated>2026-09-18T17:02:19+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-09-17T15:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e2e66ae1d346380c191bb2b4d4badcbefdb22715'/>
<id>urn:sha1:e2e66ae1d346380c191bb2b4d4badcbefdb22715</id>
<content type='text'>
EFIAPI is required on library interface functions to ensure that the
correct calling convention is used.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/GptLib: Extract shareable GPT parser into a library</title>
<updated>2026-07-20T21:50:57+00:00</updated>
<author>
<name>Richard Lyu</name>
<email>richard.lyu@suse.com</email>
</author>
<published>2026-06-25T06:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=00a865d595591fef44dc9f23353f5c3d50152e04'/>
<id>urn:sha1:00a865d595591fef44dc9f23353f5c3d50152e04</id>
<content type='text'>
As reported in CVE-2024-13745 via oss-sec, DxeTpm2MeasureBootLib can
measure a partition table that differs from the one parsed by the
PartitionDxe driver.

To address this, the more complete GPT parsing logic from PartitionDxe
is extracted into a standalone GptLib library so it can be
shared between PartitionDxe and DxeTpm2MeasureBootLib. This ensures
that the exact same partition table measured into PCR[5] is the one
parsed and used by the system. PartitionDxe behavior is unchanged.

Ref: https://seclists.org/oss-sec/2026/q2/727
Signed-off-by: Richard Lyu &lt;richard.lyu@suse.com&gt;
</content>
</entry>
<entry>
<title>Revert "ArmPlatformPkg,EmbeddedPkg,MdeModulePkg: Move RealTimeClockLib ..."</title>
<updated>2026-05-06T03:41:31+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2026-03-13T13:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d73615b24ba402b1625f03d6a83f183180f24a60'/>
<id>urn:sha1:d73615b24ba402b1625f03d6a83f183180f24a60</id>
<content type='text'>
This reverts commit 57230fff6b39a665485be1bd43ec608d412ba6fb.

RealTimeClockLib is not a generic library class that is intended to be
used widely to get access to the RTC when the associated runtime
services are not available in the calling context.

The purpose of RealTimeClockLib is to abstract the underlying hardware
access from the generic RealTimeClockRuntimeDxe driver, which backs the
runtime services.

This means it does not belong in a different package; it belongs in the
same package as the driver.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: IpmiCommandLib: Add IPMI mailbox declarations</title>
<updated>2026-03-13T15:02:28+00:00</updated>
<author>
<name>Brit Chesley</name>
<email>Brit.Chesley@amd.com</email>
</author>
<published>2025-11-10T21:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=17cb2be383568fad979ccaaab7378ff149533761'/>
<id>urn:sha1:17cb2be383568fad979ccaaab7378ff149533761</id>
<content type='text'>
Added IPMI boot initiator mailbox function declarations.

Signed-off-by: Brit Chesley &lt;brit.chesley@amd.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: CpuExceptionHandlerLib: Define X86_CPU_INTERRUPT_NUM</title>
<updated>2026-03-07T03:58:40+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2026-03-06T17:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3ed9aceeb8e6b1175403b42ef3f97a2547e93c89'/>
<id>urn:sha1:3ed9aceeb8e6b1175403b42ef3f97a2547e93c89</id>
<content type='text'>
There are currently many definitions for the number of interrupts
for X86 processors. Centralize this definition in
CpuExceptionHandlerLib.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: 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:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7a934d0befca7d10f361c76af6d2fcb6eb48c835'/>
<id>urn:sha1:7a934d0befca7d10f361c76af6d2fcb6eb48c835</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>MdeModulePkg: fix various typos</title>
<updated>2025-11-21T21:49:59+00:00</updated>
<author>
<name>Philipp Schuster</name>
<email>philipp.schuster@cyberus-technology.de</email>
</author>
<published>2025-11-04T07:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=04398aa4b3e6a769ff1b6fd8e2f38746e19b6200'/>
<id>urn:sha1:04398aa4b3e6a769ff1b6fd8e2f38746e19b6200</id>
<content type='text'>
Signed-off-by: Philipp Schuster &lt;philipp.schuster@cyberus-technology.de&gt;
</content>
</entry>
<entry>
<title>ArmPlatformPkg,EmbeddedPkg,MdeModulePkg: Move RealTimeClockLib header</title>
<updated>2025-09-08T08:54:42+00:00</updated>
<author>
<name>INDIA\sachinganesh</name>
<email>sachinganesh@ami.com</email>
</author>
<published>2025-08-05T14:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=57230fff6b39a665485be1bd43ec608d412ba6fb'/>
<id>urn:sha1:57230fff6b39a665485be1bd43ec608d412ba6fb</id>
<content type='text'>
RealTimeClockLib is an architectural implementation that is not
restricted to the embedded segment or any platform in particular.

So the header has been moved to MdeModulePkg.
And the package has been added to the relevant INF files.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Sachin Ganesh &lt;sachinganesh@ami.com&gt;
</content>
</entry>
</feed>
