/** @file\r
The driver binding and service binding protocol for IP6 driver.\r
\r
- Copyright (c) 2009 - 2010, 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
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
the resource allocated by the instance. The instance may be\r
partly initialized, or partly destroyed. If a resource is\r
- destroyed, it is marked as that in case the destory failed and\r
+ destroyed, it is marked as that in case the destroy failed and\r
being called again later.\r
\r
@param[in] IpSb The IP6 service binding instance to clean up.\r
);\r
\r
//\r
-// Function ptototypes for the ServiceBinding Prococol\r
+// Function prototypes for the ServiceBinding Protocol\r
//\r
\r
/**\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_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
handle.\r
@retval EFI_UNSUPPORTED The child handle does not support the I/O services\r
that are being removed.\r
- @retval EFI_INVALID_PARAMETER Child handle is not a valid EFI Handle.\r
+ @retval EFI_INVALID_PARAMETER Child handle is NULL.\r
@retval EFI_ACCESS_DENIED The child handle could not be destroyed because\r
its I/O services are being used.\r
@retval other The child handle was not destroyed.\r