]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/PeCoffLoaderEx.c
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / C / Common / PeCoffLoaderEx.c
index fa8c7e3d1737e778ac25e4b097d1574c47708cfa..43e66e792530b9b13c55a65d789e7e11ecd8507e 100644 (file)
@@ -101,7 +101,7 @@ Returns:
 \r
 \r
 /**\r
-  Pass in a pointer to an ARM MOVT or MOVW immediate instruciton and\r
+  Pass in a pointer to an ARM MOVT or MOVW immediate instruction and\r
   return the immediate data encoded in the instruction\r
 \r
   @param  Instruction   Pointer to ARM MOVT or MOVW immediate instruction\r
@@ -137,7 +137,7 @@ ThumbMovtImmediateAddress (
   Update an ARM MOVT or MOVW immediate instruction immediate data.\r
 \r
   @param  Instruction   Pointer to ARM MOVT or MOVW immediate instruction\r
-  @param  Address       New addres to patch into the instruction\r
+  @param  Address       New address to patch into the instruction\r
 **/\r
 VOID\r
 ThumbMovtImmediatePatch (\r
@@ -147,7 +147,7 @@ ThumbMovtImmediatePatch (
 {\r
   UINT16  Patch;\r
 \r
-  // First 16-bit chunk of instruciton\r
+  // First 16-bit chunk of instruction\r
   Patch  = ((Address >> 12) & 0x000f);             // imm4\r
   Patch |= (((Address & BIT11) != 0) ? BIT10 : 0); // i\r
   *Instruction = (*Instruction & ~0x040f) | Patch;\r
@@ -160,10 +160,10 @@ ThumbMovtImmediatePatch (
 }\r
 \r
 /**\r
-  Pass in a pointer to an ARM MOVW/MOVT instruciton pair and\r
+  Pass in a pointer to an ARM MOVW/MOVT instruction pair and\r
   return the immediate data encoded in the two` instruction\r
 \r
-  @param  Instructions  Pointer to ARM MOVW/MOVT insturction pair\r
+  @param  Instructions  Pointer to ARM MOVW/MOVT instruction pair\r
 \r
   @return Immediate address encoded in the instructions\r
 \r
@@ -188,7 +188,7 @@ ThumbMovwMovtImmediateAddress (
   Update an ARM MOVW/MOVT immediate instruction instruction pair.\r
 \r
   @param  Instructions  Pointer to ARM MOVW/MOVT instruction pair\r
-  @param  Address       New addres to patch into the instructions\r
+  @param  Address       New address to patch into the instructions\r
 **/\r
 VOID\r
 EFIAPI\r