]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Ip6Dxe/Ip6Driver.h
DynamicTablesPkg: Add EDK2 Core CI support
[mirror_edk2.git] / NetworkPkg / Ip6Dxe / Ip6Driver.h
index 4a23d836b8e5c336b9c56175d28c7878fb7897e8..007f687c6e25be8890ea9d032e686542f8159b02 100644 (file)
@@ -1,15 +1,9 @@
 /** @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
 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
 \r
 /**\r
   Clean up an IP6 service binding instance. It releases all\r
@@ -65,7 +66,7 @@ Ip6DriverEntryPoint (
   );\r
 \r
 //\r
-// Function prototypes for the Drivr Binding Protocol\r
+// Function prototypes for the Driver Binding Protocol\r
 //\r
 \r
 /**\r
@@ -97,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
@@ -134,7 +135,7 @@ Ip6DriverBindingStop (
   );\r
 \r
 //\r
-// Function ptototypes for the ServiceBinding Prococol\r
+// Function prototypes for the ServiceBinding Protocol\r
 //\r
 \r
 /**\r
@@ -146,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
@@ -165,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