Changes the runtime addressing mode of EFI firmware from physical to virtual.
@paramin MemoryMapSize The size in bytes of VirtualMap.
@paramin DescriptorSize The size in bytes of an entry in the VirtualMap.
@paramin DescriptorVersion The version of the structure entries in VirtualMap.
@paramin VirtualMap An array of memory descriptors which contain new virtual
address mapping information for all runtime ranges.
@retval EFI_SUCCESS The virtual address map has been applied.
@retval EFI_UNSUPPORTED EFI firmware is not at runtime, or the EFI firmware is already in
virtual address mapped mode.
@retval EFI_INVALID_PARAMETER DescriptorSize or DescriptorVersion is invalid.
@retval EFI_NO_MAPPING A virtual address was not supplied for a range in the memory
map that requires a mapping.
@retval EFI_NOT_FOUND A virtual address was supplied for an address that is not found
in the memory map.
Changes the runtime addressing mode of EFI firmware from physical to virtual.
@paramin MemoryMapSize The size in bytes of VirtualMap. @paramin DescriptorSize The size in bytes of an entry in the VirtualMap. @paramin DescriptorVersion The version of the structure entries in VirtualMap. @paramin VirtualMap An array of memory descriptors which contain new virtual address mapping information for all runtime ranges.
@retval EFI_SUCCESS The virtual address map has been applied. @retval EFI_UNSUPPORTED EFI firmware is not at runtime, or the EFI firmware is already in virtual address mapped mode. @retval EFI_INVALID_PARAMETER DescriptorSize or DescriptorVersion is invalid. @retval EFI_NO_MAPPING A virtual address was not supplied for a range in the memory map that requires a mapping. @retval EFI_NOT_FOUND A virtual address was supplied for an address that is not found in the memory map.