25.2.2 Set Virtual Address Map Event
If a UEFI Runtime Driver dynamically allocates memory buffers, then the
pointers to those allocations and pointers within those allocations must be
converted to virtual addresses when a UEFI operating system calls the UEFI
Runtime Service SetVitualAddressMap()
. UEFI Drivers for network interface controllers that
manage this type of buffer must create a Set Virtual Address Map Event in the
Driver Binding Protocol Start()
function. The notification function
associated with this Set Virtual Address Map Event must use the UEFI Runtime
Service called ConvertPointer()
to perform conversions from physical
addresses to virtual addresses on all pointers. These conversions must be
performed bottom-up since the virtual pointers are not valid until the
SetVirtualAddressMap()
returns to the UEFI operating system.