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
Moving the global variable from header file into library instances #473
Merged
Conversation
This file contains 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
github-actions
bot
added
impact:non-functional
Does not have a functional impact
type:documentation
Improvements or additions to documentation
labels
Apr 26, 2024
os-d
reviewed
Apr 26, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/202311 #473 +/- ##
==================================================
+ Coverage 12.11% 12.13% +0.02%
==================================================
Files 110 110
Lines 19024 18991 -33
Branches 1735 1756 +21
==================================================
Hits 2305 2305
+ Misses 16687 16654 -33
Partials 32 32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
makubacki
reviewed
Apr 26, 2024
makubacki
reviewed
Apr 26, 2024
makubacki
reviewed
Apr 26, 2024
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
kuqin12
changed the title
Moving the global variable from header file into MfciDxe
Moving the global variable from header file into library instances
Apr 26, 2024
os-d
approved these changes
Apr 26, 2024
makubacki
approved these changes
Apr 26, 2024
Merging the change to unblock the upcoming |
ProjectMuBot
added a commit
to microsoft/mu_tiano_platforms
that referenced
this pull request
Apr 27, 2024
Introduces 3 new commits in [Common/MU](https://github.com/microsoft/mu_plus.git). <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/mu_plus/commit/cd7ce3ed8ae3ab38cdff67df6b8379a343347d52">cd7ce3</a> Relax report length requirements (<a href="https://github.com/microsoft/mu_plus/pull/455">#455</a>)</li> <li><a href="https://github.com/microsoft/mu_plus/commit/e6308e0591505cacf9a142d4f091fd863f9f2fc8">e6308e</a> GitHub Action: Bump robinraju/release-downloader from 1.9 to 1.10 (<a href="https://github.com/microsoft/mu_plus/pull/472">#472</a>)</li> <li><a href="https://github.com/microsoft/mu_plus/commit/da051c707f056617f8e10bf9f3cc5071bc504d83">da051c</a> Moving the global variable from header file into library instances (<a href="https://github.com/microsoft/mu_plus/pull/473">#473</a>)</li> </ul> </details> Signed-off-by: Project Mu Bot <mubot@microsoft.com>
apop5
pushed a commit
to microsoft/mu_tiano_platforms
that referenced
this pull request
Apr 29, 2024
Bumps Common/MU from `2023110000.0.5` to `2023110000.0.6` Introduces 3 new commits in [Common/MU](https://github.com/microsoft/mu_plus.git). <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/mu_plus/commit/cd7ce3ed8ae3ab38cdff67df6b8379a343347d52">cd7ce3</a> Relax report length requirements (<a href="https://github.com/microsoft/mu_plus/pull/455">#455</a>)</li> <li><a href="https://github.com/microsoft/mu_plus/commit/e6308e0591505cacf9a142d4f091fd863f9f2fc8">e6308e</a> GitHub Action: Bump robinraju/release-downloader from 1.9 to 1.10 (<a href="https://github.com/microsoft/mu_plus/pull/472">#472</a>)</li> <li><a href="https://github.com/microsoft/mu_plus/commit/da051c707f056617f8e10bf9f3cc5071bc504d83">da051c</a> Moving the global variable from header file into library instances (<a href="https://github.com/microsoft/mu_plus/pull/473">#473</a>)</li> </ul> </details> Signed-off-by: Project Mu Bot <mubot@microsoft.com> --------- Signed-off-by: Project Mu Bot <mubot@microsoft.com> Co-authored-by: Kun Qin <kuqin@microsoft.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
impact:non-functional
Does not have a functional impact
type:documentation
Improvements or additions to documentation
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
The current implementation of instantiating global variables will make each c file that includes this header to carry a copy of such variable, which is space redundant.
This change removed the variable into the single module that uses it and removed the structure it defines. The function descriptions are also updated.
flow, or firmware?
validation improvement, ...
in build or boot behavior?
a function in a new library class in a pre-existing module, ...
outside direct code modifications (and comments)?
on an a separate Web page, ...
How This Was Tested
This is a non-functional change.
Integration Instructions
N/A