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
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.
22 #ifndef __EFI_IP4_DRIVER_H__
23 #define __EFI_IP4_DRIVER_H__
25 #include <Protocol/ServiceBinding.h>
27 extern EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding
;
28 extern EFI_COMPONENT_NAME_PROTOCOL gIp4ComponentName
;
29 extern EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2
;
32 // Function prototype for the driver's entry point
37 IN EFI_HANDLE ImageHandle
,
38 IN EFI_SYSTEM_TABLE
*SystemTable
42 // Function prototypes for the Drivr Binding Protocol
46 Ip4DriverBindingSupported (
47 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
48 IN EFI_HANDLE ControllerHandle
,
49 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath OPTIONAL
54 Ip4DriverBindingStart (
55 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
56 IN EFI_HANDLE ControllerHandle
,
57 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath OPTIONAL
62 Ip4DriverBindingStop (
63 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
64 IN EFI_HANDLE ControllerHandle
,
65 IN UINTN NumberOfChildren
,
66 IN EFI_HANDLE
*ChildHandleBuffer
70 // Function ptototypes for the ServiceBinding Prococol
74 Ip4ServiceBindingCreateChild (
75 IN EFI_SERVICE_BINDING_PROTOCOL
*This
,
76 IN EFI_HANDLE
*ChildHandle
81 Ip4ServiceBindingDestroyChild (
82 IN EFI_SERVICE_BINDING_PROTOCOL
*This
,
83 IN EFI_HANDLE ChildHandle