]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Ip6Dxe/Ip6Driver.h
MpInitLib: Move the Above1Mb vector allocation to MpInitLibInitialize
[mirror_edk2.git] / NetworkPkg / Ip6Dxe / Ip6Driver.h
index d16ff48e2aa86ee5dc9dbcec179cabc3f2653a9c..996dbe4f7a6929e2e89f9fa46aa2b0b877141895 100644 (file)
@@ -1,31 +1,25 @@
 /** @file\r
   The driver binding and service binding protocol for IP6 driver.\r
 \r
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #ifndef __EFI_IP6_DRIVER_H__\r
 #define __EFI_IP6_DRIVER_H__\r
 \r
-extern EFI_DRIVER_BINDING_PROTOCOL  gIp6DriverBinding;\r
-extern EFI_COMPONENT_NAME_PROTOCOL  gIp6ComponentName;\r
-extern EFI_COMPONENT_NAME2_PROTOCOL gIp6ComponentName2;\r
-extern EFI_UNICODE_STRING_TABLE     *gIp6ControllerNameTable;\r
+extern EFI_DRIVER_BINDING_PROTOCOL   gIp6DriverBinding;\r
+extern EFI_COMPONENT_NAME_PROTOCOL   gIp6ComponentName;\r
+extern EFI_COMPONENT_NAME2_PROTOCOL  gIp6ComponentName2;\r
+extern EFI_UNICODE_STRING_TABLE      *gIp6ControllerNameTable;\r
 \r
 typedef struct {\r
-  EFI_SERVICE_BINDING_PROTOCOL  *ServiceBinding;\r
-  UINTN                         NumberOfChildren;\r
-  EFI_HANDLE                    *ChildHandleBuffer;\r
-}IP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT;\r
+  EFI_SERVICE_BINDING_PROTOCOL    *ServiceBinding;\r
+  UINTN                           NumberOfChildren;\r
+  EFI_HANDLE                      *ChildHandleBuffer;\r
+} IP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT;\r
 \r
 /**\r
   Clean up an IP6 service binding instance. It releases all\r
@@ -42,7 +36,7 @@ typedef struct {
 **/\r
 EFI_STATUS\r
 Ip6CleanService (\r
-  IN IP6_SERVICE            *IpSb\r
+  IN IP6_SERVICE  *IpSb\r
   );\r
 \r
 //\r
@@ -67,12 +61,12 @@ Ip6CleanService (
 EFI_STATUS\r
 EFIAPI\r
 Ip6DriverEntryPoint (\r
-  IN EFI_HANDLE             ImageHandle,\r
-  IN EFI_SYSTEM_TABLE       *SystemTable\r
+  IN EFI_HANDLE        ImageHandle,\r
+  IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
 //\r
-// Function prototypes for the Drivr Binding Protocol\r
+// Function prototypes for the Driver Binding Protocol\r
 //\r
 \r
 /**\r
@@ -104,7 +98,7 @@ Ip6DriverBindingSupported (
   @param[in]  RemainingDevicePath Optional parameter used to pick a specific child\r
                                   device to start.\r
 \r
-  @retval EFI_SUCCES              This driver is added to ControllerHandle.\r
+  @retval EFI_SUCCESS             This driver is added to ControllerHandle.\r
   @retval EFI_ALREADY_STARTED     This driver is already running on ControllerHandle.\r
   @retval other                   This driver does not support this device.\r
 \r
@@ -141,7 +135,7 @@ Ip6DriverBindingStop (
   );\r
 \r
 //\r
-// Function ptototypes for the ServiceBinding Prococol\r
+// Function prototypes for the ServiceBinding Protocol\r
 //\r
 \r
 /**\r
@@ -153,8 +147,8 @@ Ip6DriverBindingStop (
                                  is not NULL, then the I/O services are added to\r
                                  the existing child handle.\r
 \r
-  @retval EFI_SUCCES             The child handle was created with the I/O services.\r
-  @retval EFI_OUT_OF_RESOURCES   There are not enough resources availabe to create\r
+  @retval EFI_SUCCESS            The child handle was created with the I/O services.\r
+  @retval EFI_OUT_OF_RESOURCES   There are not enough resources available to create\r
                                  the child.\r
   @retval other                  The child handle was not created.\r
 \r
@@ -172,7 +166,7 @@ Ip6ServiceBindingCreateChild (
   @param[in]  This               Protocol instance pointer.\r
   @param[in]  ChildHandle        Handle of the child to destroy.\r
 \r
-  @retval EFI_SUCCES             The I/O services were removed from the child\r
+  @retval EFI_SUCCESS            The I/O services were removed from the child\r
                                  handle.\r
   @retval EFI_UNSUPPORTED        The child handle does not support the I/O services\r
                                   that are being removed.\r