audk/StandaloneMmPkg
Dun Tan b19f1311d6 StandaloneMmPkg/Core: Remove unneeded check
Remove unneeded check MmIsBufferOutsideMmValid() when
StandaloneMmCore checks if the BS data memory described
by a memory allocation HOB needs to be migrated to Mmram.

Currently, the API MmIsBufferOutsideMmValid() return TRUE
when input memory range belongs to non-Mmram memory. Now
the API will be changed in following 5 commits to return
TRUE when a memory range belongs to non-Mmram memroy and
the memory is inside a range described by resource HOB.
This may cause PF when some SMI handler access the memory
from a memory allocation HOB that is not migrated.

To solve this issue, we can directly remove the check
MmIsBufferOutsideMmValid() and always migrate the BS data
memory described by a memory allocation HOB to Mmram.

Signed-off-by: Dun Tan <dun.tan@intel.com>
2024-11-05 08:30:16 +00:00
..
Core StandaloneMmPkg/Core: Remove unneeded check 2024-11-05 08:30:16 +00:00
Drivers StandaloneMmPkg/MmIpl: Optimize hob pointer check flow 2024-11-05 01:04:30 +00:00
Include StandaloneMmPkg: Remove definition for MM_CORE_PRIVATE_DATA 2024-08-28 15:25:27 +00:00
Library StandaloneMmPkg: CodeQL Fixes. 2024-10-03 07:30:55 +00:00
StandaloneMmPkg.ci.yaml StandaloneMmPkg/StandaloneMmPkg.ci.yaml: Add PrEval CI config 2024-09-02 23:20:35 +00:00
StandaloneMmPkg.dec StandaloneMmPkg: Restart dispatcher once MM entry is registered for X64 2024-08-30 18:27:36 +00:00
StandaloneMmPkg.dsc StandaloneMmPkg: Add StackCheckLib 2024-09-13 03:58:46 +00:00