]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
PcAtChipsetPkg: Fix few typos
[mirror_edk2.git] / PcAtChipsetPkg / Library / SerialIoLib / SerialPortLib.c
index 25c4cefc1381bac9907a89e1e440e81179e4f971..aa5657a7fd6b1079b2e802d86b3fc179ea7ae397 100644 (file)
@@ -58,7 +58,7 @@ UINT8   gBreakSet = 0;
   If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
 \r
   @retval RETURN_SUCCESS        The serial device was initialized.\r
-  @retval RETURN_DEVICE_ERROR   The serail device could not be initialized.\r
+  @retval RETURN_DEVICE_ERROR   The serial device could not be initialized.\r
 \r
 **/\r
 RETURN_STATUS\r
@@ -139,7 +139,7 @@ SerialPortWrite (
 \r
   while ((NumberOfBytes--) != 0) {\r
     //\r
-    // Wait for the serail port to be ready.\r
+    // Wait for the serial port to be ready.\r
     //\r
     do {\r
       Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);\r
@@ -180,7 +180,7 @@ SerialPortRead (
 \r
   while ((NumberOfBytes--) != 0) {\r
     //\r
-    // Wait for the serail port to be ready.\r
+    // Wait for the serial port to be ready.\r
     //\r
     do {\r
       Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);\r