Open
Conversation
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>
ardbiesheuvel
approved these changes
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
How This Was Tested
N/A.
Integration Instructions
ArmLib now lives in MdePkg. Platform's should update their DSCs to point to: