> On Feb 17, 2017, at 7:55 AM, Kirkendall, Garrett <garrett.kirkend...@amd.com> 
> wrote:
> 
> The UEFI spec says:
> EfiReservedMemoryType - Not usable.
> 
> Some people take this to mean that you should not use this memory type.  Some 
> think it will mark the memory as unusable by UEFI or OS.
> 
> Could the spec be updated to be more precise as to the meaning?
> 
> As far as I can tell, the code will allocate memory of type 
> EfiReservedMemoryType and will not use that memory.
> 

Garrett,

The UEFI Spec is written from an Option ROM (EFI Driver) and OS Loader point of 
view. Basically PI components (Platform Firmware in the ROM) can use the 
EfiReservedMemoryType. 

I've seen S3 and SMM code that allocates EfiReservedMemoryType to hide a memory 
region from the OS that does not require a virtual mapping. 

Thanks,

Andrew Fish

> Garrett Kirkendall
> SMTS Firmware Engineer | CTE
> 7171 Southwest Parkway, Austin, TX 78735 USA
> AMD   facebook<https://www.facebook.com/AMD>  |  amd.com<http://www.amd.com/>
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to