Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHERRY-PICK] Create memory bin override library to allow for more extensive platform customization #1226

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

cfernald
Copy link
Contributor

Description

Cherry-picks the change from this original PR that was dropped in the 2405 rebase.

#194

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?
  • Backport to release branch?

How This Was Tested

Cherry pick from existing change.

Integration Instructions

Add the new NULL version of the library to the platform DSC file

MemoryBinOverrideLib|MdeModulePkg/Library/MemoryBinOverrideLibNull/MemoryBinOverrideLibNull.inf

@cfernald cfernald requested review from os-d and apop5 November 21, 2024 23:29
@github-actions github-actions bot added impact:breaking-change Requires integration attention impact:non-functional Does not have a functional impact type:backport Backport changes in a dev branch PR to its release branch. labels Nov 21, 2024
MdeModulePkg/MdeModulePkg.dec Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 1.60%. Comparing base (b5bc594) to head (846c109).

Files with missing lines Patch % Lines
MdeModulePkg/Core/Dxe/Mem/Page.c 0.00% 25 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           dev/202405    #1226      +/-   ##
==============================================
- Coverage        1.60%    1.60%   -0.01%     
==============================================
  Files            1377     1377              
  Lines          359233   359246      +13     
  Branches         5524     5524              
==============================================
  Hits             5760     5760              
- Misses         353366   353379      +13     
  Partials          107      107              
Flag Coverage Δ
MdeModulePkg 0.67% <0.00%> (-0.01%) ⬇️
NetworkPkg 0.55% <ø> (ø)
PolicyServicePkg 30.41% <ø> (ø)
UefiCpuPkg 4.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

…rm customization (microsoft#194)

Adds a memory bin override library that allows a platform to customize
logic around memory bin locations in DXE.

- [ ] Impacts functionality?
- [ ] Impacts security?
- [x] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

Tested on the Q35 platform with a custom memory bin override library

Add the new NULL version of the library to the platform DSC file
```
MemoryBinOverrideLib|MdeModulePkg/Library/MemoryBinOverrideLibNull/MemoryBinOverrideLibNull.inf
```
@cfernald cfernald merged commit 206b001 into microsoft:dev/202405 Nov 22, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:breaking-change Requires integration attention impact:non-functional Does not have a functional impact type:backport Backport changes in a dev branch PR to its release branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants