summaryrefslogtreecommitdiffstats
path: root/SignedCapsulePkg/Include
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:22 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit582b6cdd08e2f91e5a92acf9c63837b6ed8774e8 (patch)
tree18ef8743171869d935732796c6ac12900e4f37f9 /SignedCapsulePkg/Include
parentf16bd39441b9bdb112e9ee885e979f60f77430db (diff)
downloadedk2-582b6cdd08e2f91e5a92acf9c63837b6ed8774e8.tar.gz
edk2-582b6cdd08e2f91e5a92acf9c63837b6ed8774e8.tar.bz2
edk2-582b6cdd08e2f91e5a92acf9c63837b6ed8774e8.zip
SignedCapsulePkg: Fix various typos
Fix various typos in comments and documentation. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-70-philmd@redhat.com>
Diffstat (limited to 'SignedCapsulePkg/Include')
-rw-r--r--SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h4
-rw-r--r--SignedCapsulePkg/Include/Library/IniParsingLib.h14
2 files changed, 9 insertions, 9 deletions
diff --git a/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h b/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
index 1129d715ae..8295f92a73 100644
--- a/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
+++ b/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
@@ -60,7 +60,7 @@
ImageOffset = <ImageOffset> # Fv offset of this SystemFirmware image (HEX)
FileGuid = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # PcdEdkiiSystemFirmwareFileGuid
- NOTE: The [Name?] entry may have differnt FileGuid.
+ NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
@@ -80,7 +80,7 @@
ImageOffset = <ImageOffset> # Image offset of this SystemFirmware image (HEX)
FileGuid = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # PcdEdkiiSystemFirmwareFileGuid
- NOTE: The [Name?] entry may have differnt FileGuid.
+ NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
diff --git a/SignedCapsulePkg/Include/Library/IniParsingLib.h b/SignedCapsulePkg/Include/Library/IniParsingLib.h
index 26d100ffde..edfdde7e8d 100644
--- a/SignedCapsulePkg/Include/Library/IniParsingLib.h
+++ b/SignedCapsulePkg/Include/Library/IniParsingLib.h
@@ -14,7 +14,7 @@
3.1) an ASCII String. The valid format is [A-Za-z0-9_]+
3.2) a GUID. The valid format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where x is [A-Fa-f0-9]
3.3) a decimal value. The valid format is [0-9]+
- 3.4) a heximal value. The valid format is 0x[A-Fa-f0-9]+
+ 3.4) a hexadecimal value. The valid format is 0x[A-Fa-f0-9]+
4) '#' or ';' can be used as comment at anywhere.
5) TAB(0x20) or SPACE(0x9) can be used as separator.
6) LF(\n, 0xA) or CR(\r, 0xD) can be used as line break.
@@ -106,14 +106,14 @@ GetDecimalUintnFromDataFile (
);
/**
- Get section entry heximal UINTN value.
+ Get section entry hexadecimal UINTN value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINTN value.
+ @param[out] Data Point to the got hexadecimal UINTN value.
- @retval EFI_SUCCESS Section entry heximal UINTN value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINTN value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS
@@ -126,14 +126,14 @@ GetHexUintnFromDataFile (
);
/**
- Get section entry heximal UINT64 value.
+ Get section entry hexadecimal UINT64 value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINT64 value.
+ @param[out] Data Point to the got hexadecimal UINT64 value.
- @retval EFI_SUCCESS Section entry heximal UINT64 value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINT64 value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS