Here:http://wiki.phoenix.com/wiki/index.php/EFI_BOOT_SERVICES#AllocatePages.28.29
First of all, is there a concept of Virtual Memory in UEFI ?
Why does EFI_MEMORY_DESCRIPTOR have VirtualStart ? What is it used for ?
typedef struct {
UINT32 Type;
EFI_PHYSICAL_ADDRESS PhysicalStart;
EFI_VIRTUAL_ADDRESS VirtualStart;
UINT64 NumberOfPages;
UINT64 Attribute;
} EFI_MEMORY_DESCRIPTOR; Finally, if there is no virtual memory, then why is
AllocatePages even required ? If all you care about is reading/writing to pure
physical memory addresses, then do you need to call AllocatePages ?
Thanks,
Shubha
Shubha D. [email protected]
[email protected]
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel