|
OvmfPkg[all]
0.1
|
Functions | |
| EFI_STATUS | VirtioMmioInstallDevice (IN PHYSICAL_ADDRESS BaseAddress, IN EFI_HANDLE Handle) |
| EFI_STATUS | VirtioMmioUninstallDevice (IN EFI_HANDLE Handle) |
Definitions for the VirtIo MMIO Device Library
Copyright (C) 2013, ARM Ltd
SPDX-License-Identifier: BSD-2-Clause-Patent
| EFI_STATUS VirtioMmioInstallDevice | ( | IN PHYSICAL_ADDRESS | BaseAddress, |
| IN EFI_HANDLE | Handle | ||
| ) |
Initialize VirtIo Device and Install VIRTIO_DEVICE_PROTOCOL protocol
| [in] | BaseAddress | Base Address of the VirtIo MMIO Device |
| [in] | Handle | Handle of the device the driver should be attached to. |
| EFI_SUCCESS | The VirtIo Device has been installed successfully. |
| EFI_OUT_OF_RESOURCES | The function failed to allocate memory required by the Virtio MMIO device initialization. |
| EFI_UNSUPPORTED | BaseAddress does not point to a VirtIo MMIO device. |
| EFI_STATUS VirtioMmioUninstallDevice | ( | IN EFI_HANDLE | Handle | ) |
Uninstall the VirtIo Device
| [in] | Handle | Handle of the device where the VirtIo Device protocol should have been installed. |
| EFI_SUCCESS | The device has been un-initialized successfully. |