/* The triggering of the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event is checked via the call count of the notification function. */
static int execute(void)
/* The triggering of the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event is checked via the call count of the notification function. */
static int execute(void)
{
	efi_status_t ret;
	ret = runtime->set_virtual_address_map(map_size, desc_size,
					       desc_version, memory_map);
	if (ret != EFI_SUCCESS) {
		efi_st_error("SetVirtualAddressMap failed\n");
		return EFI_ST_FAILURE;
	}
	if (notify_call_count != 1) {
		efi_st_error("EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE triggered %d times\n",
			     notify_call_count);
		return EFI_ST_FAILURE;
	}
	if (convert_pointer_failed)
		return EFI_ST_FAILURE;
	return EFI_ST_SUCCESS;
}