TianoCore EDK2 master
Loading...
Searching...
No Matches
Ip4Driver.h
Go to the documentation of this file.
1
8#ifndef __EFI_IP4_DRIVER_H__
9#define __EFI_IP4_DRIVER_H__
10
12
13extern EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding;
14extern EFI_COMPONENT_NAME_PROTOCOL gIp4ComponentName;
15extern EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2;
16extern EFI_UNICODE_STRING_TABLE *gIp4ControllerNameTable;
17
18typedef struct {
19 EFI_SERVICE_BINDING_PROTOCOL *ServiceBinding;
20 UINTN NumberOfChildren;
21 EFI_HANDLE *ChildHandleBuffer;
23
24//
25// Function prototype for the driver's entry point
26//
27
44EFIAPI
46 IN EFI_HANDLE ImageHandle,
47 IN EFI_SYSTEM_TABLE *SystemTable
48 );
49
50//
51// Function prototypes for the Driver Binding Protocol
52//
53
73EFIAPI
76 IN EFI_HANDLE ControllerHandle,
77 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
78 );
79
99EFIAPI
102 IN EFI_HANDLE ControllerHandle,
103 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
104 );
105
125EFIAPI
128 IN EFI_HANDLE ControllerHandle,
129 IN UINTN NumberOfChildren,
130 IN EFI_HANDLE *ChildHandleBuffer
131 );
132
133//
134// Function prototypes for the ServiceBinding Protocol
135//
136
157EFIAPI
160 IN OUT EFI_HANDLE *ChildHandle
161 );
162
182EFIAPI
185 IN EFI_HANDLE ChildHandle
186 );
187
188#endif
UINT64 UINTN
EFI_STATUS EFIAPI Ip4DriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Ip4Driver.c:73
EFI_STATUS EFIAPI Ip4DriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: Ip4Driver.c:118
EFI_STATUS EFIAPI Ip4ServiceBindingDestroyChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle)
Definition: Ip4Driver.c:950
EFI_STATUS EFIAPI Ip4ServiceBindingCreateChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN OUT EFI_HANDLE *ChildHandle)
Definition: Ip4Driver.c:847
EFI_STATUS EFIAPI Ip4DriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: Ip4Driver.c:542
EFI_STATUS EFIAPI Ip4DriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
Definition: Ip4Driver.c:704
#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