]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.h
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpDriver.h
1 /** @file
2
3 Copyright (c) 2006 - 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 Module Name:
13
14 ArpDriver.c
15
16 Abstract:
17
18
19 **/
20
21 #ifndef _ARP_DRIVER_H_
22 #define _ARP_DRIVER_H_
23
24
25 #include <PiDxe.h>
26
27 #include <Protocol/Arp.h>
28 #include <Protocol/ManagedNetwork.h>
29 #include <Protocol/ServiceBinding.h>
30
31 #include <Library/DebugLib.h>
32 #include <Library/UefiDriverEntryPoint.h>
33 #include <Library/UefiBootServicesTableLib.h>
34 #include <Library/UefiLib.h>
35
36 #include "ArpDebug.h"
37
38 //
39 // Global variables
40 //
41 extern EFI_DRIVER_BINDING_PROTOCOL gArpDriverBinding;
42 extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName;
43 extern EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2;
44
45 EFI_STATUS
46 EFIAPI
47 ArpDriverBindingSupported (
48 IN EFI_DRIVER_BINDING_PROTOCOL *This,
49 IN EFI_HANDLE ControllerHandle,
50 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
51 );
52
53 EFI_STATUS
54 EFIAPI
55 ArpDriverBindingStart (
56 IN EFI_DRIVER_BINDING_PROTOCOL *This,
57 IN EFI_HANDLE ControllerHandle,
58 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
59 );
60
61 EFI_STATUS
62 EFIAPI
63 ArpDriverBindingStop (
64 IN EFI_DRIVER_BINDING_PROTOCOL *This,
65 IN EFI_HANDLE ControllerHandle,
66 IN UINTN NumberOfChildren,
67 IN EFI_HANDLE *ChildHandleBuffer
68 );
69
70 EFI_STATUS
71 EFIAPI
72 ArpServiceBindingCreateChild (
73 IN EFI_SERVICE_BINDING_PROTOCOL *This,
74 IN EFI_HANDLE *ChildHandle
75 );
76
77 EFI_STATUS
78 EFIAPI
79 ArpServiceBindingDestroyChild (
80 IN EFI_SERVICE_BINDING_PROTOCOL *This,
81 IN EFI_HANDLE ChildHandle
82 );
83
84 #endif
85