RDFU  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
EfiScanner.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI EfiScannerDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
 
EFI_STATUS EFIAPI EfiScannerDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
 
EFI_STATUS EFIAPI EfiScannerDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
 
EFI_STATUS EFIAPI EfiScannerComponentNameGetDriverName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName)
 
EFI_STATUS EFIAPI EfiScannerComponentNameGetControllerName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
 
EFI_STATUS EFIAPI EfiScannerDriverUnload (IN EFI_HANDLE ImageHandle)
 

Variables

EFI_DRIVER_BINDING_PROTOCOL gEfiScannerDriverBinding
 
EFI_COMPONENT_NAME_PROTOCOL gEfiScannerComponentName
 
EFI_COMPONENT_NAME2_PROTOCOL gEfiScannerComponentName2
 

Function Documentation

EFI_STATUS EFIAPI EfiScannerComponentNameGetControllerName ( IN EFI_COMPONENT_NAME_PROTOCOL *  This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_HANDLE ChildHandle  OPTIONAL,
IN CHAR8 *  Language,
OUT CHAR16 **  ControllerName 
)

Definition at line 48 of file Component.c.

54 {
55  return EFI_UNSUPPORTED;
56 }
EFI_STATUS EFIAPI EfiScannerComponentNameGetDriverName ( IN EFI_COMPONENT_NAME_PROTOCOL *  This,
IN CHAR8 *  Language,
OUT CHAR16 **  DriverName 
)

Definition at line 33 of file Component.c.

References gEfiScannerComponentName, and mEfiScannerDriverNameTable.

37 {
38  return LookupUnicodeString2(
39  Language,
40  This->SupportedLanguages,
42  DriverName,
43  (BOOLEAN)(This == &gEfiScannerComponentName));
44 }
EFI_STATUS EFIAPI EfiScannerDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *  This,
IN EFI_HANDLE  Controller,
IN EFI_DEVICE_PATH_PROTOCOL *  RemainingDevicePath 
)

Definition at line 38 of file DriverBinding.c.

43 {
44  return EFI_UNSUPPORTED;
45 }
EFI_STATUS EFIAPI EfiScannerDriverBindingStop ( IN EFI_DRIVER_BINDING_PROTOCOL *  This,
IN EFI_HANDLE  Controller,
IN UINTN  NumberOfChildren,
IN EFI_HANDLE *  ChildHandleBuffer 
)

Definition at line 50 of file DriverBinding.c.

56 {
57  return EFI_UNSUPPORTED;
58 }
EFI_STATUS EFIAPI EfiScannerDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *  This,
IN EFI_HANDLE  Controller,
IN EFI_DEVICE_PATH_PROTOCOL *  RemainingDevicePath 
)

Definition at line 26 of file DriverBinding.c.

31 {
32  return EFI_UNSUPPORTED;
33 }
EFI_STATUS EFIAPI EfiScannerDriverUnload ( IN EFI_HANDLE  ImageHandle)

Variable Documentation

EFI_COMPONENT_NAME_PROTOCOL gEfiScannerComponentName
EFI_COMPONENT_NAME2_PROTOCOL gEfiScannerComponentName2

just a couple of definitions for the EFI_COMPONENT_NAME2 and EFI_COMPONENT_NAME protocols.

Definition at line 10 of file Component.c.

Referenced by EfiScannerDriverUnload(), and EfiScannerEntryPoint().

EFI_DRIVER_BINDING_PROTOCOL gEfiScannerDriverBinding

just some definitions for the driver skeleton

support (callbacks) for driver binding protocol

From the UEFI docs: "The EFI_DRIVER_BINDING_PROTOCOL provides a service to determine if a driver supports a given controller. If a controller is supported, then it also provides services to start and stop the controller." – we just set everything to EFI_UNSUPPORTED.

Definition at line 16 of file DriverBinding.c.

Referenced by EfiScannerDriverUnload(), and EfiScannerEntryPoint().