efidev: Drop a quick note in about efi_cfgtbl/efi_runtime
There's no real annotation for it, so it's not immediately obvious to the unfamiliar that these pointers are to locations in the EFI runtime map unlike the system table pointer immediately above them.
This commit is contained in:
parent
e76e77a972
commit
50da29d25b
@ -57,6 +57,11 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <vm/vm_map.h>
|
#include <vm/vm_map.h>
|
||||||
|
|
||||||
static struct efi_systbl *efi_systbl;
|
static struct efi_systbl *efi_systbl;
|
||||||
|
/*
|
||||||
|
* The following pointers point to tables in the EFI runtime service data pages.
|
||||||
|
* Care should be taken to make sure that we've properly entered the EFI runtime
|
||||||
|
* environment (efi_enter()) before dereferencing them.
|
||||||
|
*/
|
||||||
static struct efi_cfgtbl *efi_cfgtbl;
|
static struct efi_cfgtbl *efi_cfgtbl;
|
||||||
static struct efi_rt *efi_runtime;
|
static struct efi_rt *efi_runtime;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user