summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/ServiceBinding.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/ServiceBinding.h')
-rw-r--r--MdePkg/Include/Protocol/ServiceBinding.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/MdePkg/Include/Protocol/ServiceBinding.h b/MdePkg/Include/Protocol/ServiceBinding.h
index cbaa8ea17f..c0b5e83232 100644
--- a/MdePkg/Include/Protocol/ServiceBinding.h
+++ b/MdePkg/Include/Protocol/ServiceBinding.h
@@ -1,10 +1,10 @@
/** @file
- The file defines the generic Service Binding Protocol
- functions.
+ The file defines the generic Service Binding Protocol functions.
+ It provides services that are required to create and destroy child
+ handles that support a given set of protocols.
-
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -69,6 +69,24 @@ EFI_STATUS
)
;
+/**
+ @par Protocol Description:
+ The EFI_SERVICE_BINDING_PROTOCOL provides member functions to create and destroy
+ child handles. A driver is responsible for adding protocols to the child handle
+ in CreateChild() and removing protocols in DestroyChild(). It is also required
+ that the CreateChild() function opens the parent protocol BY_CHILD_CONTROLLER
+ to establish the parent-child relationship, and closes the protocol in DestroyChild().
+ The pseudo code for CreateChild() and DestroyChild() is provided to specify the
+ required behavior, not to specify the required implementation. Each consumer of
+ a software protocol is responsible for calling CreateChild() when it requires the
+ protocol and calling DestroyChild() when it is finished with that protocol.
+
+ @param CreateChild
+ Creates a child handle and installs a protocol.
+
+ @param DestroyChild
+ Destroys a child handle with a protocol installed on it.
+**/
struct _EFI_SERVICE_BINDING_PROTOCOL {
EFI_SERVICE_BINDING_CREATE_CHILD CreateChild;
EFI_SERVICE_BINDING_DESTROY_CHILD DestroyChild;