-
Notifications
You must be signed in to change notification settings - Fork 163
[FF-A][TPM] Updates for ArmFfaLib to not use global variable pre-memory #1618
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
base: release/202502
Are you sure you want to change the base?
[FF-A][TPM] Updates for ArmFfaLib to not use global variable pre-memory #1618
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/202502 #1618 +/- ##
=================================================
Coverage ? 1.55%
=================================================
Files ? 637
Lines ? 234542
Branches ? 370
=================================================
Hits ? 3649
Misses ? 230880
Partials ? 13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0a4027b to
0128ad9
Compare
e101718 to
61c2662
Compare
… in each phase's ArmFfaLib implementation. SEC and PEI will query when necessary to avoid setting globals when memory is unavailable.
…buffer HOB on a call to Unmap.
61c2662 to
f81dc04
Compare
|
These changes are being upstreamed to EDK2. Once they get merged, I will close this and open another commit pulling down the changes. |
Description
Updated the ARM FF-A libraries to remove global variables for the SEC version as well as to work with the necessary changes for the SEC version. SEC will now query all necessary information while other libraries can rely on the globals set in ArmFfaCommonInit.
How This Was Tested
Built QEMU SBSA with TPM enabled, verified TPM communication and boot to UEFI shell.
Integration Instructions
N/A