mirror of https://github.com/acidanthera/audk.git
IntelFrameworkModulePkg: add comments to clarify runtime memory usage for legacy OS.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17135 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
718abab112
commit
800765aa19
|
@ -1613,6 +1613,12 @@ EfiMemoryTypeToE820Type (
|
|||
case EfiBootServicesCode:
|
||||
case EfiBootServicesData:
|
||||
case EfiConventionalMemory:
|
||||
//
|
||||
// The memory of EfiRuntimeServicesCode and EfiRuntimeServicesData are
|
||||
// usable memory for legacy OS.
|
||||
// In ACPI specification, EfiRuntimeServiceCode and EfiRuntimeServiceData
|
||||
// should be mapped to AddressRangeReserved. This statement is for UEFI OS, not for legacy OS.
|
||||
//
|
||||
case EfiRuntimeServicesCode:
|
||||
case EfiRuntimeServicesData:
|
||||
return EfiAcpiAddressRangeMemory;
|
||||
|
|
Loading…
Reference in New Issue