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
;
31 // Function prototype for the driver's entry point
36 IN EFI_HANDLE ImageHandle
,
37 IN EFI_SYSTEM_TABLE
*SystemTable
41 // Function prototypes for the Drivr Binding Protocol
45 Ip4DriverBindingSupported (
46 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
47 IN EFI_HANDLE ControllerHandle
,
48 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath OPTIONAL
53 Ip4DriverBindingStart (
54 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
55 IN EFI_HANDLE ControllerHandle
,
56 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath OPTIONAL
61 Ip4DriverBindingStop (
62 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
63 IN EFI_HANDLE ControllerHandle
,
64 IN UINTN NumberOfChildren
,
65 IN EFI_HANDLE
*ChildHandleBuffer
69 // Function ptototypes for the ServiceBinding Prococol
73 Ip4ServiceBindingCreateChild (
74 IN EFI_SERVICE_BINDING_PROTOCOL
*This
,
75 IN EFI_HANDLE
*ChildHandle
80 Ip4ServiceBindingDestroyChild (
81 IN EFI_SERVICE_BINDING_PROTOCOL
*This
,
82 IN EFI_HANDLE ChildHandle