]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.h
Fixed rebuild failure issue when un-recognized macro is used in "#include" directive.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpDriver.h
CommitLineData
83cbd279 1/** @file\r
2\r
3Copyright (c) 2006 - 2007, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12Module Name:\r
13\r
14 ArpDriver.c\r
15\r
16Abstract:\r
17\r
18\r
19**/\r
20\r
21#ifndef _ARP_DRIVER_H_\r
22#define _ARP_DRIVER_H_\r
23\r
772db4bb 24\r
25#include <PiDxe.h>\r
26\r
27#include <Protocol/Arp.h>\r
83cbd279 28#include <Protocol/ManagedNetwork.h>\r
772db4bb 29#include <Protocol/ServiceBinding.h>\r
30\r
31#include <Library/DebugLib.h>\r
32#include <Library/UefiDriverEntryPoint.h>\r
33#include <Library/UefiBootServicesTableLib.h>\r
83cbd279 34#include <Library/UefiLib.h>\r
35\r
83cbd279 36\r
37//\r
38// Global variables\r
39//\r
40extern EFI_DRIVER_BINDING_PROTOCOL gArpDriverBinding;\r
41extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName;\r
42extern EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2;\r
43\r
44EFI_STATUS\r
45EFIAPI\r
46ArpDriverBindingSupported (\r
47 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
48 IN EFI_HANDLE ControllerHandle,\r
49 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL\r
50 );\r
51\r
52EFI_STATUS\r
53EFIAPI\r
54ArpDriverBindingStart (\r
55 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
56 IN EFI_HANDLE ControllerHandle,\r
57 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL\r
58 );\r
59\r
60EFI_STATUS\r
61EFIAPI\r
62ArpDriverBindingStop (\r
63 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
64 IN EFI_HANDLE ControllerHandle,\r
65 IN UINTN NumberOfChildren,\r
66 IN EFI_HANDLE *ChildHandleBuffer\r
67 );\r
68\r
69EFI_STATUS\r
70EFIAPI\r
71ArpServiceBindingCreateChild (\r
72 IN EFI_SERVICE_BINDING_PROTOCOL *This,\r
73 IN EFI_HANDLE *ChildHandle\r
74 );\r
75\r
76EFI_STATUS\r
77EFIAPI\r
78ArpServiceBindingDestroyChild (\r
79 IN EFI_SERVICE_BINDING_PROTOCOL *This,\r
80 IN EFI_HANDLE ChildHandle\r
81 );\r
82\r
83#endif\r
84\r