]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c
MdeModulePkg/Bus/Ata: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Ata / AhciPei / AhciMode.c
index 8c491bd138656e2d62463cfd84337f405a0204cc..7636ad27c86c072c0a76039a3504e81a8922e567 100644 (file)
@@ -266,7 +266,7 @@ AhciWaitMemSet (
 \r
   do {\r
     //\r
-    // Access sytem memory to see if the value is the tested one.\r
+    // Access system memory to see if the value is the tested one.\r
     //\r
     // The system memory pointed by Address will be updated by the\r
     // SATA Host Controller, "volatile" is introduced to prevent\r
@@ -520,7 +520,7 @@ AhciBuildCommand (
 }\r
 \r
 /**\r
-  Buid a command FIS.\r
+  Build a command FIS.\r
 \r
   @param[in,out] CmdFis             A pointer to the EFI_AHCI_COMMAND_FIS data\r
                                     structure.\r
@@ -801,7 +801,7 @@ AhciPioTransfer (
   AhciWriteReg (AhciBar, Offset, Data64.Uint32.Upper32);\r
 \r
   //\r
-  // Single task envrionment, we only use one command table for all port\r
+  // Single task environment, we only use one command table for all port\r
   //\r
   Offset = AHCI_PORT_START + Port * AHCI_PORT_REG_WIDTH + AHCI_PORT_CLB;\r
   OldCmdListLo  = AhciReadReg (AhciBar, Offset);\r
@@ -1843,7 +1843,7 @@ AhciModeInitialization (
       if (EFI_ERROR (Status)) {\r
         DEBUG ((\r
           DEBUG_ERROR,\r
-          "%a: Error occured when waiting for the first D2H register FIS - %r\n",\r
+          "%a: Error occurred when waiting for the first D2H register FIS - %r\n",\r
           __FUNCTION__, Status\r
           ));\r
         continue;\r