![Intel Extensible Firmware Interface Specification Download Page 112](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117112.webp)
Extensible Firmware Interface Specification
94
12/12/00
Version 1.02
3.7.2 ConvertPointer()
Summary
Determines the new virtual address that is to be used on subsequent memory accesses.
Prototype
EFI_STATUS
ConvertPointer (
IN UINTN
DebugDisposition,
IN VOID
**Address
);
Parameters
DebugDisposition
Supplies type information for the pointer being converted. See
"Related Definitions".
Address
A pointer to a pointer that is to be fixed to be the value needed
for the new virtual address mappings being applied.
Related Definitions
//*******************************************************
// EFI_OPTIONAL_PTR
//*******************************************************
#define EFI_OPTIONAL_PTR 0x00000001
Description
The
ConvertPointer()
function is used by an EFI component during the
SetVirtualAddressMap()
operation.
The
ConvertPointer()
function updates the current pointer pointed to by
Address
to be the
proper value for the new address map. Only runtime components need to perform this operation.
The
CreateEvent()
function is used to create an event that is to be notified when the address
map is changing. All pointers the component has allocated or assigned must be updated.
If the
EFI_OPTIONAL_PTR
flag is specified, the pointer being converted is allowed to be
NULL
.
Once all components have been notified of the address map change, firmware fixes any compiled in
pointers that are embedded in any runtime image.
Status Codes Returned
EFI_SUCCESS
The pointer pointed to by
Address
was modified.
EFI_NOT_FOUND
The pointer pointed to by
Address
was not found to be part
of the current memory map. This is normally fatal.
EFI_INVALID_PARAMETER
One of the parameters has an invalid value.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...