APIs, concepts, guides, and more

◆ HostAddressGet()

uint64_t HostAddressGet ( uint32_t firmwareAddress)
Description:
HostAddressGet converts and returns a firmware address to a host controller address.
Parameters
firmwareAddressAny address (firmware) in the controller's memory, as you would see it in VM3.
Returns
(uint64_t) Host address.
Sample Code:
// enter string as seen in VM3.
// -- C++ -- //
printf("Host address is 0x%x Firmware Address is 0x%x\n", controller->HostAddressGet(firmwareAddr), firmwareAddr);
uint64_t HostAddressGet(uint32_t firmwareAddress)
Convert a firmware address to a host controller address.
// -- C# -- //
Console.WriteLine("Host address is 0x{0} Firmware Address is 0x{1}", controller.HostAddressGet(firmwareAddr), firmwareAddr);
See also
MemorySet, MemoryGet, AddressFromStringGet, FirmwareAddressGet