MdeModulePkg: Transition SMM MAT Logic to Use ImagePropertiesRecordLib

Now that the bugs are fixed in the MAT logic, we can remove the
duplicate logic from PiSmmCore/MemoryAttributesTable.c and use
ImagePropertiesRecordLib instead.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Taylor Beebe <taylor.d.beebe@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Taylor Beebe
2023-11-03 08:29:44 -07:00
committed by mergify[bot]
parent 960c7b25c2
commit aa77dac3fb
4 changed files with 58 additions and 768 deletions

View File

@ -181,4 +181,15 @@ FindImageRecord (
IN LIST_ENTRY *ImageRecordList
);
/**
Dump image record.
@param[in] ImageRecordList A list of IMAGE_PROPERTIES_RECORD entries
**/
VOID
EFIAPI
DumpImageRecord (
IN LIST_ENTRY *ImageRecordList
);
#endif