Skip to content

Global: Move ArmLib to MdePkg#12444

Open
os-d wants to merge 2 commits intotianocore:masterfrom
os-d:armlib_mdepkg
Open

Global: Move ArmLib to MdePkg#12444
os-d wants to merge 2 commits intotianocore:masterfrom
os-d:armlib_mdepkg

Conversation

@os-d
Copy link
Copy Markdown
Contributor

@os-d os-d commented Apr 10, 2026

Description

Per https://edk2.groups.io/g/devel/topic/move_armlib_to_baselib/118541649, move ArmLib to MdePkg, following its header. As discussed in that thread a longer term plan for this type of architectural support will be considered after this move.

This also performs a small cleanup on the library's dependencies.

Note: The move from ArmLib to MdePkg was done as one commit because I think it is a lot cleaner to review and see that it was a move with no file changes instead of the copy and having to tell if anything changed. If preferred, I can split the first commit into many, adding to MdePkg, moving the other packages over, and then dropping from ArmPkg.

A companion edk2-platforms PR is here: tianocore/edk2-platforms#974.

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

N/A.

Integration Instructions

ArmLib now lives in MdePkg. Platform's should update their DSCs to point to:

ArmLib|MdePkg/Library/ArmLib/ArmBaseLib.inf

os-d added 2 commits April 10, 2026 13:24
Per
https://edk2.groups.io/g/devel/topic/move_armlib_to_baselib/118541649,
this commit moves ArmLib to MdePkg and updates all consumers.

The only change to ArmLib itself is to remove ArmPkg.dec from
the inf.

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
ArmLib doesn't actually depend on DebugLib and
is used in places where having additional
dependencies would be incorrect.

Drop it.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:breaking-change This change breaks existing APIs impacting build or boot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants