]> git.proxmox.com Git - mirror_edk2.git/commitdiff
PcAtChipsetPkg: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:14 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Correctly write 'serial', remove duplicated 'the'.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-62-philmd@redhat.com>

PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c
PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c

index 7dc11014a5888c7531008d6e696a8fb8eda709ab..0a49093dbf267bef45806b349093ae014deac868 100644 (file)
@@ -59,7 +59,7 @@ AcpiTimerLibConstructor (
 \r
   //\r
   // If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then\r
-  // no PCI register programming is required to enable access to the the ACPI registers\r
+  // no PCI register programming is required to enable access to the ACPI registers\r
   // specified by PcdAcpiIoPortBaseAddress\r
   //\r
   if (PcdGet16 (PcdAcpiIoPciBarRegisterOffset) == 0x0000) {\r
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