Add UEFI 2.5 properties table support in DXE core.
Add PropertiesTableAttributesDxe driver to set ACPINvs/Reserved memory type to be XP, as default policy. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" <Jiewen.yao@intel.com> Reviewed-by: "Zeng, Star" <Star.Zeng@intel.com> Reviewed-by: "Gao, Liming" <Liming.Gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17564 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -710,6 +710,7 @@ CoreLoadPeImage (
|
||||
Image->RuntimeData->RelocationData = Image->ImageContext.FixupData;
|
||||
Image->RuntimeData->Handle = Image->Handle;
|
||||
InsertTailList (&gRuntime->ImageHead, &Image->RuntimeData->Link);
|
||||
InsertImageRecord (Image->RuntimeData);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -952,6 +953,7 @@ CoreUnloadAndCloseImage (
|
||||
// Remove the Image from the Runtime Image list as we are about to Free it!
|
||||
//
|
||||
RemoveEntryList (&Image->RuntimeData->Link);
|
||||
RemoveImageRecord (Image->RuntimeData);
|
||||
}
|
||||
CoreFreePool (Image->RuntimeData);
|
||||
}
|
||||
|
Reference in New Issue
Block a user