TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL |
Macros | |
#define | EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL | EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN OUT EFI_HANDLE *DriverImageHandle) |
typedef EFI_STATUS(EFIAPI * | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath) |
typedef EFI_STATUS(EFIAPI * | EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath, IN EFI_HANDLE DriverImageHandle) |
Variables | |
EFI_GUID | gEfiPlatformDriverOverrideProtocolGuid |
Platform Driver Override protocol as defined in the UEFI 2.1 specification.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PlatformDriverOverride.h.
#define EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_GUID |
Global ID for the Platform Driver Override Protocol
Definition at line 15 of file PlatformDriverOverride.h.
typedef EFI_STATUS(EFIAPI * EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath, IN EFI_HANDLE DriverImageHandle) |
Used to associate a driver image handle with a device path that was returned on a prior call to the GetDriverPath() service. This driver image handle will then be available through the GetDriver() service.
This | A pointer to the EFI_PLATFORM_DRIVER_OVERRIDE_ PROTOCOL instance. |
ControllerHandle | The device handle of the controller. |
DriverImagePath | A pointer to the driver device path that was returned in a prior call to GetDriverPath(). |
DriverImageHandle | The driver image handle that was returned by LoadImage() when the driver specified by DriverImagePath was loaded into memory. |
EFI_SUCCESS | The association between DriverImagePath and DriverImageHandle was established for the controller specified by ControllerHandle. |
EFI_UNSUPPORTED | The operation is not supported. |
EFI_NOT_FOUND | DriverImagePath is not a device path that was returned on a prior call to GetDriverPath() for the controller specified by ControllerHandle. |
EFI_INVALID_PARAMETER | ControllerHandle is NULL. |
EFI_INVALID_PARAMETER | DriverImagePath is not a valid device path. |
EFI_INVALID_PARAMETER | DriverImageHandle is not a valid image handle. |
Definition at line 108 of file PlatformDriverOverride.h.
typedef EFI_STATUS(EFIAPI * EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN OUT EFI_HANDLE *DriverImageHandle) |
Retrieves the image handle of the platform override driver for a controller in the system.
This | A pointer to the EFI_PLATFORM_DRIVER_OVERRIDE_ PROTOCOL instance. |
ControllerHandle | The device handle of the controller to check if a driver override exists. |
DriverImageHandle | On input, a pointer to the previous driver image handle returned by GetDriver(). On output, a pointer to the next driver image handle. |
EFI_SUCCESS | The driver override for ControllerHandle was returned in DriverImageHandle. |
EFI_NOT_FOUND | A driver override for ControllerHandle was not found. |
EFI_INVALID_PARAMETER | The handle specified by ControllerHandle is NULL. |
EFI_INVALID_PARAMETER | DriverImageHandle is not a handle that was returned on a previous call to GetDriver(). |
Definition at line 46 of file PlatformDriverOverride.h.
typedef EFI_STATUS(EFIAPI * EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) (IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath) |
Retrieves the device path of the platform override driver for a controller in the system.
This | A pointer to the EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL instance. |
ControllerHandle | The device handle of the controller to check if a driver override exists. |
DriverImagePath | On input, a pointer to the previous driver device path returned by GetDriverPath(). On output, a pointer to the next driver device path. Passing in a pointer to NULL will return the first driver device path for ControllerHandle. |
EFI_SUCCESS | The driver override for ControllerHandle was returned in DriverImageHandle. |
EFI_UNSUPPORTED | The operation is not supported. |
EFI_NOT_FOUND | A driver override for ControllerHandle was not found. |
EFI_INVALID_PARAMETER | The handle specified by ControllerHandle is NULL. |
EFI_INVALID_PARAMETER | DriverImagePath is not a device path that was returned on a previous call to GetDriverPath(). |
Definition at line 74 of file PlatformDriverOverride.h.
Definition at line 20 of file PlatformDriverOverride.h.