TianoCore EDK2 master
Loading...
Searching...
No Matches
ArpDriver.h
Go to the documentation of this file.
1
9#ifndef _ARP_DRIVER_H_
10#define _ARP_DRIVER_H_
11
12#include <Uefi.h>
13
14#include <Protocol/Arp.h>
17
18#include <Library/DebugLib.h>
21#include <Library/UefiLib.h>
22
23//
24// Global variables
25//
26extern EFI_DRIVER_BINDING_PROTOCOL gArpDriverBinding;
27extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName;
28extern EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2;
29
30//
31// Function prototypes for the Driver Binding Protocol
32//
33
64EFIAPI
67 IN EFI_HANDLE ControllerHandle,
68 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
69 );
70
103EFIAPI
106 IN EFI_HANDLE ControllerHandle,
107 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
108 );
109
140EFIAPI
143 IN EFI_HANDLE ControllerHandle,
144 IN UINTN NumberOfChildren,
145 IN EFI_HANDLE *ChildHandleBuffer
146 );
147
169EFIAPI
172 IN EFI_HANDLE *ChildHandle
173 );
174
195EFIAPI
198 IN EFI_HANDLE ChildHandle
199 );
200
201//
202// EFI Component Name Functions
203//
204
245EFIAPI
248 IN CHAR8 *Language,
249 OUT CHAR16 **DriverName
250 );
251
321EFIAPI
324 IN EFI_HANDLE ControllerHandle,
325 IN EFI_HANDLE ChildHandle OPTIONAL,
326 IN CHAR8 *Language,
327 OUT CHAR16 **ControllerName
328 );
329
330#endif
UINT64 UINTN
EFI_STATUS EFIAPI ArpDriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: ArpDriver.c:297
EFI_STATUS EFIAPI ArpServiceBindingCreateChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE *ChildHandle)
Definition: ArpDriver.c:555
EFI_STATUS EFIAPI ArpComponentNameGetControllerName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
EFI_STATUS EFIAPI ArpServiceBindingDestroyChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle)
Definition: ArpDriver.c:680
EFI_STATUS EFIAPI ArpDriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: ArpDriver.c:368
EFI_STATUS EFIAPI ArpComponentNameGetDriverName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName)
Definition: ComponentName.c:80
EFI_STATUS EFIAPI ArpDriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
Definition: ArpDriver.c:458
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33