2 * Manage XenBus device path and I/O handles
4 * Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
6 * SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _XENIO_MMIO_DEVICE_LIB_H_
11 #define _XENIO_MMIO_DEVICE_LIB_H_
15 Install the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols on
16 the handle pointed to by @Handle, or on a new handle if it points to
19 @param Handle Pointer to the handle to install the protocols
20 on, may point to a NULL handle.
22 @param GrantTableAddress The address of the Xen grant table
24 @retval EFI_SUCCESS Protocols were installed successfully
26 @retval EFI_OUT_OF_RESOURCES The function failed to allocate memory required
27 by the XenIo MMIO and device path protocols
29 @return Status code returned by the boot service
30 InstallMultipleProtocolInterfaces ()
35 IN OUT EFI_HANDLE
*Handle
,
36 IN EFI_PHYSICAL_ADDRESS GrantTableAddress
42 Uninstall the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols
44 @param Handle Handle onto which the protocols have been installed
45 earlier by XenIoMmioInstall ()
47 @retval EFI_SUCCESS Protocols were uninstalled successfully
49 @return Status code returned by the boot service
50 UninstallMultipleProtocolInterfaces ()