MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/** @file
|
||||
/** @file
|
||||
UEFI Service Binding Protocol is defined in UEFI specification.
|
||||
|
||||
The file defines the generic Service Binding Protocol functions.
|
||||
It provides services that are required to create and destroy child
|
||||
It provides services that are required to create and destroy child
|
||||
handles that support a given set of protocols.
|
||||
|
||||
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -26,14 +26,14 @@ typedef struct _EFI_SERVICE_BINDING_PROTOCOL EFI_SERVICE_BINDING_PROTOCOL;
|
||||
|
||||
/**
|
||||
Creates a child handle and installs a protocol.
|
||||
|
||||
The CreateChild() function installs a protocol on ChildHandle.
|
||||
If ChildHandle is a pointer to NULL, then a new handle is created and returned in ChildHandle.
|
||||
|
||||
The CreateChild() function installs a protocol on ChildHandle.
|
||||
If ChildHandle is a pointer to NULL, then a new handle is created and returned in ChildHandle.
|
||||
If ChildHandle is not a pointer to NULL, then the protocol installs on the existing ChildHandle.
|
||||
|
||||
@param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
|
||||
@param ChildHandle Pointer to the handle of the child to create. If it is NULL,
|
||||
then a new handle is created. If it is a pointer to an existing UEFI handle,
|
||||
then a new handle is created. If it is a pointer to an existing UEFI handle,
|
||||
then the protocol is added to the existing UEFI handle.
|
||||
|
||||
@retval EFI_SUCCES The protocol was added to ChildHandle.
|
||||
@@ -52,9 +52,9 @@ EFI_STATUS
|
||||
|
||||
/**
|
||||
Destroys a child handle with a protocol installed on it.
|
||||
|
||||
The DestroyChild() function does the opposite of CreateChild(). It removes a protocol
|
||||
that was installed by CreateChild() from ChildHandle. If the removed protocol is the
|
||||
|
||||
The DestroyChild() function does the opposite of CreateChild(). It removes a protocol
|
||||
that was installed by CreateChild() from ChildHandle. If the removed protocol is the
|
||||
last protocol on ChildHandle, then ChildHandle is destroyed.
|
||||
|
||||
@param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
|
||||
@@ -76,14 +76,14 @@ EFI_STATUS
|
||||
);
|
||||
|
||||
///
|
||||
/// 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
|
||||
/// 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
|
||||
/// 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.
|
||||
///
|
||||
struct _EFI_SERVICE_BINDING_PROTOCOL {
|
||||
|
Reference in New Issue
Block a user