diff options
author | Dun Tan <dun.tan@intel.com> | 2024-09-20 14:23:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-05 08:30:16 +0000 |
commit | d24bb10b1d9a5b2458efe54d48c81583ce8499bd (patch) | |
tree | dc002474acef23f2bc6f81cdac3c64e7762665fb /SecurityPkg | |
parent | 025cec183deaaef4942f37958b9cc09e69112ef0 (diff) | |
download | edk2-d24bb10b1d9a5b2458efe54d48c81583ce8499bd.tar.gz |
StandaloneMmPkg/MemLib: Check if the non-MMRAM buffer is valid
Check if the non-MMRAM buffer is inside valid non-mmram
range in API MmIsBufferOutsideMmValid of StandaloneMmMemLib.
Previously, the API only checks if the input buffer is
overlapped with MMRAM range. Currently, in the new standalone
MM infrastructure, we limit the non-MMRAM access to the ranges
reported by the resource HOB. To meet the new design, in this
API, we cache all the memory ranges reported by the resource
HOB and check if the input buffer is inside valid non-MMRAM
ranges reported by the resource HOB.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions