On 04/04/2013 05:03 PM, Andrew Fish wrote:
>
> I think the tricky part is telling the OS that this memory range has special
> properties. You want to treat it like EFIACPIReclaimMemory, as the OS could
> convert the range to pageable memory. If you make the memory
> EfiRuntimeServicesData then it will get pinned in the OS, and that is not
> good. I guess the driver could be smart enough to convert the memory type,
> but that could be OS dependent?
>
EfiRuntimeServicesData is typically fine... the OS typically won't have
a backing store to page it out to anyway -- this is mostly used for
installers.
The equivalent BIOS tools hijack INT 13h and INT 15h and hide the region
as e820 type 2 (reserved).
-hpa
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel