TianoCore EDK2 master
|
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) |
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.
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
Handle | Pointer to the handle to install the protocols on, may point to a NULL handle. |
GrantTableAddress | The address of the Xen grant table |
EFI_SUCCESS | Protocols were installed successfully |
EFI_OUT_OF_RESOURCES | The function failed to allocate memory required by the XenIo MMIO and device path protocols |
Definition at line 68 of file XenIoMmioLib.c.
EFI_STATUS XenIoMmioUninstall | ( | IN EFI_HANDLE | Handle | ) |
Uninstall the XENBUS_ROOT_DEVICE_PATH and XENIO_PROTOCOL protocols
Handle | Handle onto which the protocols have been installed earlier by XenIoMmioInstall () |
EFI_SUCCESS | Protocols were uninstalled successfully |
Definition at line 144 of file XenIoMmioLib.c.