]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Correct small typos
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 20 Apr 2021 14:25:17 +0000 (15:25 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 28 Apr 2021 12:03:51 +0000 (12:03 +0000)
The 'cspell' CI test detected some small typos in ArmPkg.
Correct them.

Cc: Bret Barkelew <bret.barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c
ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c
ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c
ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguagesFunction.c

index a96dc7829a955da46e9e2606242060a8fc141773..64b5054be8f767b18889dc7f32b66bf718f8d5a7 100644 (file)
@@ -121,7 +121,7 @@ GicV2GetInterruptSourceState (
   @param This     Instance pointer for this protocol\r
   @param Source   Hardware source of the interrupt\r
 \r
   @param This     Instance pointer for this protocol\r
   @param Source   Hardware source of the interrupt\r
 \r
-  @retval EFI_SUCCESS       Source interrupt EOI'ed.\r
+  @retval EFI_SUCCESS       Source interrupt ended successfully.\r
   @retval EFI_UNSUPPORTED   Source interrupt is not supported\r
 \r
 **/\r
   @retval EFI_UNSUPPORTED   Source interrupt is not supported\r
 \r
 **/\r
index 16bccbff413b121573732d4d6e4d0a24effde73b..85ee4c87b6d1d9dbd7d2ff31fbc81fef8d1eaa17 100644 (file)
@@ -115,7 +115,7 @@ GicV3GetInterruptSourceState (
   @param This     Instance pointer for this protocol\r
   @param Source   Hardware source of the interrupt\r
 \r
   @param This     Instance pointer for this protocol\r
   @param Source   Hardware source of the interrupt\r
 \r
-  @retval EFI_SUCCESS       Source interrupt EOI'ed.\r
+  @retval EFI_SUCCESS       Source interrupt ended successfully.\r
   @retval EFI_DEVICE_ERROR  Hardware could not be programmed.\r
 \r
 **/\r
   @retval EFI_DEVICE_ERROR  Hardware could not be programmed.\r
 \r
 **/\r
index 6c58d2b493175540718be38a663f3e31007c9b7c..54fad23cb42d549b7b9ea70bcdbe88028c0aeb91 100644 (file)
@@ -345,7 +345,7 @@ EfiAttributeToArmAttribute (
       break;\r
 \r
     case EFI_MEMORY_WC:\r
       break;\r
 \r
     case EFI_MEMORY_WC:\r
-      // Map to normal non-cachable\r
+      // Map to normal non-cacheable\r
       ArmAttributes = TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
       break;\r
 \r
       ArmAttributes = TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
       break;\r
 \r
index 6a06b38ab949d160d3b02f30db742f328b6c2534..c5036b7b5c708f183185dfa9de94fb775903320d 100644 (file)
@@ -51,7 +51,7 @@ EFI_FILE gSemihostFsFile = {
 };\r
 \r
 //\r
 };\r
 \r
 //\r
-// Device path for semi-hosting. It contains our autogened Caller ID GUID.\r
+// Device path for semi-hosting. It contains our auto-generated Caller ID GUID.\r
 //\r
 typedef struct {\r
   VENDOR_DEVICE_PATH        Guid;\r
 //\r
 typedef struct {\r
   VENDOR_DEVICE_PATH        Guid;\r
index 940e4bc797f277bc1d6841c2f074b60f428171d2..6b9d7eba90b9a9f35e6bd1e73e45ea4359c7ae69 100644 (file)
@@ -124,7 +124,7 @@ UpdatePageEntries (
   } else if ((Attributes & EFI_MEMORY_WC) != 0) {\r
     // modify cacheability attributes\r
     EntryMask |= TT_DESCRIPTOR_PAGE_CACHE_POLICY_MASK;\r
   } else if ((Attributes & EFI_MEMORY_WC) != 0) {\r
     // modify cacheability attributes\r
     EntryMask |= TT_DESCRIPTOR_PAGE_CACHE_POLICY_MASK;\r
-    // map to normal non-cachable\r
+    // map to normal non-cacheable\r
     EntryValue |= TT_DESCRIPTOR_PAGE_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
   } else if ((Attributes & EFI_MEMORY_WT) != 0) {\r
     // modify cacheability attributes\r
     EntryValue |= TT_DESCRIPTOR_PAGE_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
   } else if ((Attributes & EFI_MEMORY_WT) != 0) {\r
     // modify cacheability attributes\r
@@ -254,7 +254,7 @@ UpdateSectionEntries (
   } else if ((Attributes & EFI_MEMORY_WC) != 0) {\r
     // modify cacheability attributes\r
     EntryMask |= TT_DESCRIPTOR_SECTION_CACHE_POLICY_MASK;\r
   } else if ((Attributes & EFI_MEMORY_WC) != 0) {\r
     // modify cacheability attributes\r
     EntryMask |= TT_DESCRIPTOR_SECTION_CACHE_POLICY_MASK;\r
-    // map to normal non-cachable\r
+    // map to normal non-cacheable\r
     EntryValue |= TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
   } else if ((Attributes & EFI_MEMORY_WT) != 0) {\r
     // modify cacheability attributes\r
     EntryValue |= TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]= 001 = 0x2, B=0, C=0\r
   } else if ((Attributes & EFI_MEMORY_WT) != 0) {\r
     // modify cacheability attributes\r
index e35bcee38098fcd5115e61d2f8d63fc39704a9c1..b6a07dd46608f49a15224df7532fd16ad92faded 100644 (file)
@@ -37,11 +37,11 @@ SerialPortInitialize (
 /**\r
   Write data to serial device.\r
 \r
 /**\r
   Write data to serial device.\r
 \r
-  @param  Buffer           Point of data buffer which need to be writed.\r
+  @param  Buffer           Point of data buffer which need to be written.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
 \r
   @retval 0                Write data failed.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
 \r
   @retval 0                Write data failed.\r
-  @retval !0               Actual number of bytes writed to serial device.\r
+  @retval !0               Actual number of bytes written to serial device.\r
 \r
 **/\r
 \r
 \r
 **/\r
 \r
@@ -103,7 +103,7 @@ SerialPortWrite (
 /**\r
   Read data from serial device and save the datas in buffer.\r
 \r
 /**\r
   Read data from serial device and save the datas in buffer.\r
 \r
-  @param  Buffer           Point of data buffer which need to be writed.\r
+  @param  Buffer           Point of data buffer which need to be written.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
 \r
   @retval 0                Read data failed.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
 \r
   @retval 0                Read data failed.\r
index 31672ae5cf4d22a52db885569227530d50a58fb1..dd014beec8739b5b7ea06cee89df79b4467cca15 100644 (file)
@@ -102,7 +102,7 @@ SendMemoryPermissionRequest (
 \r
   // Check error response from Callee.\r
   if ((*RetVal & BIT31) != 0) {\r
 \r
   // Check error response from Callee.\r
   if ((*RetVal & BIT31) != 0) {\r
-    // Bit 31 set means there is an error retured\r
+    // Bit 31 set means there is an error returned\r
     // See [1], Section 13.5.5.1 MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 and\r
     // Section 13.5.5.2 MM_SP_MEMORY_ATTRIBUTES_SET_AARCH64.\r
     switch (*RetVal) {\r
     // See [1], Section 13.5.5.1 MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 and\r
     // Section 13.5.5.2 MM_SP_MEMORY_ATTRIBUTES_SET_AARCH64.\r
     switch (*RetVal) {\r
index 19b60ed71f8c3dfa6fb97036de8c62d3d7cbc6f2..7c941b5c0709e105aa34dcb165dd3f7e95039c7e 100644 (file)
@@ -23,9 +23,9 @@
 /**\r
   Get next language from language code list (with separator ';').\r
 \r
 /**\r
   Get next language from language code list (with separator ';').\r
 \r
-  @param  LangCode       Input: point to first language in the list. On\r
-                         Otput: point to next language in the list, or\r
-                                NULL if no more language in the list.\r
+  @param  LangCode       Input:  point to first language in the list. On\r
+                         Output: point to next language in the list, or\r
+                                 NULL if no more language in the list.\r
   @param  Lang           The first language in the list.\r
 \r
 **/\r
   @param  Lang           The first language in the list.\r
 \r
 **/\r