summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiHandleParsingLib
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-06-27 21:13:38 +0800
committerLiming Gao <liming.gao@intel.com>2018-06-28 11:19:51 +0800
commitba0014b9f8ae1a593f03e744f26008214c2b06a8 (patch)
treed40c0369fe53be8bd4a8c5595b773ec1bf3cf884 /ShellPkg/Library/UefiHandleParsingLib
parent24bfed691d9b581830933623204b56a704d1abd2 (diff)
downloadedk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.zip
edk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.tar.gz
edk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.tar.bz2
ShellPkg: 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> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiHandleParsingLib')
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h122
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf4
2 files changed, 63 insertions, 63 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
index 68bb00c..601520c 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
@@ -1,7 +1,7 @@
/** @file
Provides interface to advanced shell functionality for parsing both handle and protocol database.
- Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
(C) Copyright 2013-2016 Hewlett-Packard Development Company, L.P.<BR>
This program and the accompanying materials
@@ -163,53 +163,53 @@
/// EFI_FIRMWARE_IMAGE_DESCRIPTOR in UEFI spec < 2.4a
///
typedef struct {
- ///
- /// A unique number identifying the firmware image within the device. The number is
+ ///
+ /// A unique number identifying the firmware image within the device. The number is
/// between 1 and DescriptorCount.
- ///
+ ///
UINT8 ImageIndex;
///
- /// A unique number identifying the firmware image type.
- ///
+ /// A unique number identifying the firmware image type.
+ ///
EFI_GUID ImageTypeId;
- ///
- /// A unique number identifying the firmware image.
- ///
+ ///
+ /// A unique number identifying the firmware image.
+ ///
UINT64 ImageId;
- ///
- /// A pointer to a null-terminated string representing the firmware image name.
- ///
+ ///
+ /// A pointer to a null-terminated string representing the firmware image name.
+ ///
CHAR16 *ImageIdName;
- ///
- /// Identifies the version of the device firmware. The format is vendor specific and new
+ ///
+ /// Identifies the version of the device firmware. The format is vendor specific and new
/// version must have a greater value than an old version.
- ///
+ ///
UINT32 Version;
- ///
+ ///
/// A pointer to a null-terminated string representing the firmware image version name.
- ///
+ ///
CHAR16 *VersionName;
- ///
+ ///
/// Size of the image in bytes. If size=0, then only ImageIndex and ImageTypeId are valid.
- ///
+ ///
UINTN Size;
- ///
- /// Image attributes that are supported by this device. See 'Image Attribute Definitions'
- /// for possible returned values of this parameter. A value of 1 indicates the attribute is
- /// supported and the current setting value is indicated in AttributesSetting. A
- /// value of 0 indicates the attribute is not supported and the current setting value in
+ ///
+ /// Image attributes that are supported by this device. See 'Image Attribute Definitions'
+ /// for possible returned values of this parameter. A value of 1 indicates the attribute is
+ /// supported and the current setting value is indicated in AttributesSetting. A
+ /// value of 0 indicates the attribute is not supported and the current setting value in
/// AttributesSetting is meaningless.
- ///
+ ///
UINT64 AttributesSupported;
- ///
- /// Image attributes. See 'Image Attribute Definitions' for possible returned values of
+ ///
+ /// Image attributes. See 'Image Attribute Definitions' for possible returned values of
/// this parameter.
- ///
+ ///
UINT64 AttributesSetting;
- ///
- /// Image compatibilities. See 'Image Compatibility Definitions' for possible returned
+ ///
+ /// Image compatibilities. See 'Image Compatibility Definitions' for possible returned
/// values of this parameter.
- ///
+ ///
UINT64 Compatibilities;
} EFI_FIRMWARE_IMAGE_DESCRIPTOR_V1;
@@ -218,53 +218,53 @@ typedef struct {
/// EFI_FIRMWARE_IMAGE_DESCRIPTOR in UEFI spec > 2.4a and < 2.5
///
typedef struct {
- ///
- /// A unique number identifying the firmware image within the device. The number is
+ ///
+ /// A unique number identifying the firmware image within the device. The number is
/// between 1 and DescriptorCount.
- ///
+ ///
UINT8 ImageIndex;
///
- /// A unique number identifying the firmware image type.
- ///
+ /// A unique number identifying the firmware image type.
+ ///
EFI_GUID ImageTypeId;
- ///
- /// A unique number identifying the firmware image.
- ///
+ ///
+ /// A unique number identifying the firmware image.
+ ///
UINT64 ImageId;
- ///
- /// A pointer to a null-terminated string representing the firmware image name.
- ///
+ ///
+ /// A pointer to a null-terminated string representing the firmware image name.
+ ///
CHAR16 *ImageIdName;
- ///
- /// Identifies the version of the device firmware. The format is vendor specific and new
+ ///
+ /// Identifies the version of the device firmware. The format is vendor specific and new
/// version must have a greater value than an old version.
- ///
+ ///
UINT32 Version;
- ///
+ ///
/// A pointer to a null-terminated string representing the firmware image version name.
- ///
+ ///
CHAR16 *VersionName;
- ///
+ ///
/// Size of the image in bytes. If size=0, then only ImageIndex and ImageTypeId are valid.
- ///
+ ///
UINTN Size;
- ///
- /// Image attributes that are supported by this device. See 'Image Attribute Definitions'
- /// for possible returned values of this parameter. A value of 1 indicates the attribute is
- /// supported and the current setting value is indicated in AttributesSetting. A
- /// value of 0 indicates the attribute is not supported and the current setting value in
+ ///
+ /// Image attributes that are supported by this device. See 'Image Attribute Definitions'
+ /// for possible returned values of this parameter. A value of 1 indicates the attribute is
+ /// supported and the current setting value is indicated in AttributesSetting. A
+ /// value of 0 indicates the attribute is not supported and the current setting value in
/// AttributesSetting is meaningless.
- ///
+ ///
UINT64 AttributesSupported;
- ///
- /// Image attributes. See 'Image Attribute Definitions' for possible returned values of
+ ///
+ /// Image attributes. See 'Image Attribute Definitions' for possible returned values of
/// this parameter.
- ///
+ ///
UINT64 AttributesSetting;
- ///
- /// Image compatibilities. See 'Image Compatibility Definitions' for possible returned
+ ///
+ /// Image compatibilities. See 'Image Compatibility Definitions' for possible returned
/// values of this parameter.
- ///
+ ///
UINT64 Compatibilities;
///
/// Describes the lowest ImageDescriptor version that the device will accept. Only
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
index 05b9a7b..95252ee 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
@@ -1,6 +1,6 @@
## @file
# Provides interface to advanced shell functionality for parsing both handle and protocol database.
-# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR>
+# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR>
# (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
#
@@ -354,4 +354,4 @@
[Pcd.common]
gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize ## CONSUMES
- gEfiShellPkgTokenSpaceGuid.PcdShellIncludeNtGuids ## CONSUMES \ No newline at end of file
+ gEfiShellPkgTokenSpaceGuid.PcdShellIncludeNtGuids ## CONSUMES