TianoCore EDK2 master
Loading...
Searching...
No Matches
XenIoMmioLib.h File Reference

Go to the source code of this file.

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

Definition in file XenIoMmioLib.h.

Function Documentation

◆ XenIoMmioInstall()

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 @Handle, 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 ()

Definition at line 68 of file XenIoMmioLib.c.

◆ XenIoMmioUninstall()

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 ()

Definition at line 144 of file XenIoMmioLib.c.