EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.h

Go to the documentation of this file.
00001 
00015 #ifndef _ARP_DRIVER_H_
00016 #define _ARP_DRIVER_H_
00017 
00018 
00019 #include <Uefi.h>
00020 
00021 #include <Protocol/Arp.h>
00022 #include <Protocol/ManagedNetwork.h>
00023 #include <Protocol/ServiceBinding.h>
00024 
00025 #include <Library/DebugLib.h>
00026 #include <Library/UefiDriverEntryPoint.h>
00027 #include <Library/UefiBootServicesTableLib.h>
00028 #include <Library/UefiLib.h>
00029 
00030 
00031 //
00032 // Global variables
00033 //
00034 extern EFI_DRIVER_BINDING_PROTOCOL    gArpDriverBinding;
00035 extern EFI_COMPONENT_NAME_PROTOCOL    gArpComponentName;
00036 extern EFI_COMPONENT_NAME2_PROTOCOL   gArpComponentName2;
00037 
00038 //
00039 // Function prototypes for the Drivr Binding Protocol
00040 //
00070 EFI_STATUS
00071 EFIAPI
00072 ArpDriverBindingSupported (
00073   IN EFI_DRIVER_BINDING_PROTOCOL  *This,
00074   IN EFI_HANDLE                   ControllerHandle,
00075   IN EFI_DEVICE_PATH_PROTOCOL     *RemainingDevicePath OPTIONAL
00076   );
00077 
00109 EFI_STATUS
00110 EFIAPI
00111 ArpDriverBindingStart (
00112   IN EFI_DRIVER_BINDING_PROTOCOL  *This,
00113   IN EFI_HANDLE                   ControllerHandle,
00114   IN EFI_DEVICE_PATH_PROTOCOL     *RemainingDevicePath OPTIONAL
00115   );
00116 
00146 EFI_STATUS
00147 EFIAPI
00148 ArpDriverBindingStop (
00149   IN EFI_DRIVER_BINDING_PROTOCOL  *This,
00150   IN EFI_HANDLE                   ControllerHandle,
00151   IN UINTN                        NumberOfChildren,
00152   IN EFI_HANDLE                   *ChildHandleBuffer
00153   );
00154 
00175 EFI_STATUS
00176 EFIAPI
00177 ArpServiceBindingCreateChild (
00178   IN EFI_SERVICE_BINDING_PROTOCOL  *This,
00179   IN EFI_HANDLE                    *ChildHandle
00180   );
00181 
00201 EFI_STATUS
00202 EFIAPI
00203 ArpServiceBindingDestroyChild (
00204   IN EFI_SERVICE_BINDING_PROTOCOL  *This,
00205   IN EFI_HANDLE                    ChildHandle
00206   );
00207 
00208 
00209 //
00210 // EFI Component Name Functions
00211 //
00251 EFI_STATUS
00252 EFIAPI
00253 ArpComponentNameGetDriverName (
00254   IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
00255   IN  CHAR8                        *Language,
00256   OUT CHAR16                       **DriverName
00257   );
00258 
00259 
00328 EFI_STATUS
00329 EFIAPI
00330 ArpComponentNameGetControllerName (
00331   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
00332   IN  EFI_HANDLE                                      ControllerHandle,
00333   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
00334   IN  CHAR8                                           *Language,
00335   OUT CHAR16                                          **ControllerName
00336   );
00337 
00338 
00339 #endif
00340 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines