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>
\r
//\r
// If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then\r
\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
// specified by PcdAcpiIoPortBaseAddress\r
//\r
if (PcdGet16 (PcdAcpiIoPciBarRegisterOffset) == 0x0000) {\r
If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
\r
@retval RETURN_SUCCESS The serial device was initialized.\r
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
while ((NumberOfBytes--) != 0) {\r
//\r
\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
//\r
do {\r
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);\r
\r
while ((NumberOfBytes--) != 0) {\r
//\r
\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
//\r
do {\r
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);\r