TianoCore EDK2 master
|
Go to the source code of this file.
Macros | |
#define | MAX_NON_DISCOVERABLE_PCI_DEVICE_ID (32 * 256) |
Functions | |
STATIC EFI_STATUS EFIAPI | NonDiscoverablePciDeviceSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE DeviceHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
STATIC EFI_STATUS EFIAPI | NonDiscoverablePciDeviceStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE DeviceHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
STATIC EFI_STATUS EFIAPI | NonDiscoverablePciDeviceStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE DeviceHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
EFI_STATUS EFIAPI | NonDiscoverablePciDeviceDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC UINTN | mUniqueIdCounter = 0 |
EFI_CPU_ARCH_PROTOCOL * | mCpu |
STATIC CONST EFI_GUID *CONST | SupportedNonDiscoverableDevices [] |
STATIC EFI_DRIVER_BINDING_PROTOCOL | gDriverBinding |
Copyright (C) 2016, Linaro Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file NonDiscoverablePciDeviceDxe.c.
#define MAX_NON_DISCOVERABLE_PCI_DEVICE_ID (32 * 256) |
Definition at line 13 of file NonDiscoverablePciDeviceDxe.c.
EFI_STATUS EFIAPI NonDiscoverablePciDeviceDxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entry point of this driver.
ImageHandle | Image handle this driver. |
SystemTable | Pointer to the System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
other | Some error occurred when executing this entry point. |
Definition at line 298 of file NonDiscoverablePciDeviceDxe.c.
STATIC EFI_STATUS EFIAPI NonDiscoverablePciDeviceStart | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | DeviceHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
This routine is called right after the .Supported() called and Start this driver on ControllerHandle.
This | Protocol instance pointer. |
DeviceHandle | Handle of device to bind driver to. |
RemainingDevicePath | A pointer to the device path. it should be ignored by device driver. |
EFI_SUCCESS | This driver is added to this device. |
other | Some error occurs when binding this driver to this device. |
Definition at line 142 of file NonDiscoverablePciDeviceDxe.c.
STATIC EFI_STATUS EFIAPI NonDiscoverablePciDeviceStop | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | DeviceHandle, | ||
IN UINTN | NumberOfChildren, | ||
IN EFI_HANDLE * | ChildHandleBuffer | ||
) |
Stop this driver on ControllerHandle.
This | Protocol instance pointer. |
DeviceHandle | Handle of device to stop driver on. |
NumberOfChildren | Not used. |
ChildHandleBuffer | Not used. |
EFI_SUCCESS | This driver is removed from this device. |
other | Some error occurs when removing this driver from this device. |
Definition at line 223 of file NonDiscoverablePciDeviceDxe.c.
STATIC EFI_STATUS EFIAPI NonDiscoverablePciDeviceSupported | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | DeviceHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
Supported function of Driver Binding protocol for this driver. Test to see if this driver supports ControllerHandle.
This | Protocol instance pointer. |
DeviceHandle | Handle of device to test. |
RemainingDevicePath | A pointer to the device path. it should be ignored by device driver. |
EFI_SUCCESS | This driver supports this device. |
other | This driver does not support this device. |
Definition at line 65 of file NonDiscoverablePciDeviceDxe.c.
STATIC EFI_DRIVER_BINDING_PROTOCOL gDriverBinding |
Definition at line 277 of file NonDiscoverablePciDeviceDxe.c.
EFI_CPU_ARCH_PROTOCOL* mCpu |
Definition at line 16 of file NonDiscoverablePciDeviceDxe.c.
Definition at line 15 of file NonDiscoverablePciDeviceDxe.c.
Definition at line 23 of file NonDiscoverablePciDeviceDxe.c.