]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.h
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Driver.h
1 /** @file
2
3 Copyright (c) 2005 - 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12
13 Module Name:
14
15 Ip4Driver.h
16
17 Abstract:
18
19
20 **/
21
22 #ifndef __EFI_IP4_DRIVER_H__
23 #define __EFI_IP4_DRIVER_H__
24
25 #include <Protocol/ServiceBinding.h>
26
27 extern EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding;
28 extern EFI_COMPONENT_NAME_PROTOCOL gIp4ComponentName;
29 extern EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2;
30
31 //
32 // Function prototype for the driver's entry point
33 //
34 EFI_STATUS
35 EFIAPI
36 Ip4DriverEntryPoint (
37 IN EFI_HANDLE ImageHandle,
38 IN EFI_SYSTEM_TABLE *SystemTable
39 );
40
41 //
42 // Function prototypes for the Drivr Binding Protocol
43 //
44 EFI_STATUS
45 EFIAPI
46 Ip4DriverBindingSupported (
47 IN EFI_DRIVER_BINDING_PROTOCOL *This,
48 IN EFI_HANDLE ControllerHandle,
49 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
50 );
51
52 EFI_STATUS
53 EFIAPI
54 Ip4DriverBindingStart (
55 IN EFI_DRIVER_BINDING_PROTOCOL *This,
56 IN EFI_HANDLE ControllerHandle,
57 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
58 );
59
60 EFI_STATUS
61 EFIAPI
62 Ip4DriverBindingStop (
63 IN EFI_DRIVER_BINDING_PROTOCOL *This,
64 IN EFI_HANDLE ControllerHandle,
65 IN UINTN NumberOfChildren,
66 IN EFI_HANDLE *ChildHandleBuffer
67 );
68
69 //
70 // Function ptototypes for the ServiceBinding Prococol
71 //
72 EFI_STATUS
73 EFIAPI
74 Ip4ServiceBindingCreateChild (
75 IN EFI_SERVICE_BINDING_PROTOCOL *This,
76 IN EFI_HANDLE *ChildHandle
77 );
78
79 EFI_STATUS
80 EFIAPI
81 Ip4ServiceBindingDestroyChild (
82 IN EFI_SERVICE_BINDING_PROTOCOL *This,
83 IN EFI_HANDLE ChildHandle
84 );
85 #endif