tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.58k stars 2.47k forks source link

UefiCpuPkg: Add MM Unblock Page Library #5817

Open xieyuanh opened 3 months ago

xieyuanh commented 3 months ago

This library provides an interface to request non-MMRAM pages to be mapped/unblocked from inside MM environment. For MM modules that need to access regions outside of MMRAMs, the agents that set up these regions are responsible for invoking this API in order for these memory areas to be accessed from inside MM.

Cc: Liming Gao gaoliming@byosoft.com.cn Cc: Jiaxin Wu jiaxin.wu@intel.com Cc: Ray Ni ray.ni@intel.com Cc: Ard Biesheuvel ardb+tianocore@kernel.org Cc: Sami Mujawar sami.mujawar@arm.com

Description

<_Include a description of the change and why this change was made._> <_For each item, place an "x" in between `[` and `]` if true. Example: `[x]` (you can also check items in GitHub UI)_> <_Create the PR as a Draft PR if it is only created to run CI checks._> <_Delete lines in \<\> tags before creating the PR._> - [ ] Breaking change? - **Breaking change** - Will this cause a break in build or boot behavior? - Examples: Add a new library class or move a module to a different repo. - [ ] Impacts security? - **Security** - Does the change have a direct security impact? - Examples: Crypto algorithm change or buffer overflow fix. - [ ] Includes tests? - **Tests** - Does the change include any explicit test code? - Examples: Unit tests or integration tests. ## How This Was Tested <_Describe the test(s) that were run to verify the changes._> ## Integration Instructions <_Describe how these changes should be integrated. Use N/A if nothing is required._>
mdkinney commented 2 months ago

Why is the PR Title MdePkg when the code changes are in UefiCpuPkg?

mergify[bot] commented 1 month ago

PR can not be merged due to conflict. Please rebase and resubmit