Newbie question about EFI_BOOT_SERVICES_MEMORY


Laszlo Ersek
 

On 10/26/20 17:08, Vestigial Bidya wrote:
Hi, this question is about the UEFI PDFs rather than the Tianocore
implementation. I'm writing my DXE Foundation, and the documentation states
" Allocate the UEFI Boot Services Table from EFI_BOOT_SERVICES_MEMORY"
Please be a *lot* more specific than this. People trying to help
shouldn't have to hunt down the issue you are reporting.

For reference, you are (most likely) talking about the Platform Init
spec v1.7, volume 2, section "9.5 Handing Control to DXE Dispatcher".

Indeed this section uses terms like EFI_BOOT_SERVICES_MEMORY and
EFI_RUNTIME_SERVICES_MEMORY. They seem like typographical errors to me.

The way the term EFI_BOOT_SERVICES_MEMORY is formatted makes it look like
a defined Protocol or EFI_GUID, but its not mentioned anywhere else in the
docs (or on Google). Is the author trying to convey just that these
allocations should be from memory that will be released after calling
EXIT_BOOT_SERVICES ? Or is EFI_BOOT_SERVICES_MEMORY an actual term in the
spec that I just can't find?
They are simple typos, in my opinion. The replacement texts should be
"EFI boot services memory" and "runtime memory". These latter terms are
repeatedly used in the UEFI spec too (v2.8).

Can you file a bug for the PI spec in the bug tracker at
<https://mantis.uefi.org>?

Thanks
Laszlo


Vestigial Bidya <vestigialdev@...>
 

Hi, this question is about the UEFI PDFs rather than the Tianocore implementation. I'm writing my DXE Foundation, and the documentation states 
" Allocate the UEFI Boot Services Table from EFI_BOOT_SERVICES_MEMORY"

The way the term  EFI_BOOT_SERVICES_MEMORY is formatted makes it look like a defined Protocol or EFI_GUID, but its not mentioned anywhere else in the docs (or on Google). Is the author trying to convey just that these allocations should be from memory that will be released after calling EXIT_BOOT_SERVICES ? Or is  EFI_BOOT_SERVICES_MEMORY an actual term in the spec that I just can't find?