OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XenIoMmioLib.h File Reference

Functions

EFI_STATUS XenIoMmioInstall (IN OUT EFI_HANDLE *Handle, IN EFI_PHYSICAL_ADDRESS GrantTableAddress)
 
EFI_STATUS XenIoMmioUninstall (IN EFI_HANDLE Handle)
 

Detailed Description

Manage XenBus device path and I/O handles

Copyright (c) 2015, Linaro Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS XenIoMmioInstall ( IN OUT EFI_HANDLE *  Handle,
IN EFI_PHYSICAL_ADDRESS  GrantTableAddress 
)

Install the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols on the handle pointed to by , or on a new handle if it points to NULL

Parameters
HandlePointer to the handle to install the protocols on, may point to a NULL handle.
GrantTableAddressThe address of the Xen grant table
Return values
EFI_SUCCESSProtocols were installed successfully
EFI_OUT_OF_RESOURCESThe function failed to allocate memory required by the XenIo MMIO and device path protocols
Returns
Status code returned by the boot service InstallMultipleProtocolInterfaces ()
EFI_STATUS XenIoMmioUninstall ( IN EFI_HANDLE  Handle)

Uninstall the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols

Parameters
HandleHandle onto which the protocols have been installed earlier by XenIoMmioInstall ()
Return values
EFI_SUCCESSProtocols were uninstalled successfully
Returns
Status code returned by the boot service UninstallMultipleProtocolInterfaces ()