mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
PcAtChipsetPkg: Fix few typos
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>
This commit is contained in:
parent
493dde944d
commit
aad15888d6
@ -59,7 +59,7 @@ AcpiTimerLibConstructor (
|
|||||||
|
|
||||||
//
|
//
|
||||||
// If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then
|
// If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then
|
||||||
// no PCI register programming is required to enable access to the the ACPI registers
|
// no PCI register programming is required to enable access to the ACPI registers
|
||||||
// specified by PcdAcpiIoPortBaseAddress
|
// specified by PcdAcpiIoPortBaseAddress
|
||||||
//
|
//
|
||||||
if (PcdGet16 (PcdAcpiIoPciBarRegisterOffset) == 0x0000) {
|
if (PcdGet16 (PcdAcpiIoPciBarRegisterOffset) == 0x0000) {
|
||||||
|
@ -58,7 +58,7 @@ UINT8 gBreakSet = 0;
|
|||||||
If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.
|
If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.
|
||||||
|
|
||||||
@retval RETURN_SUCCESS The serial device was initialized.
|
@retval RETURN_SUCCESS The serial device was initialized.
|
||||||
@retval RETURN_DEVICE_ERROR The serail device could not be initialized.
|
@retval RETURN_DEVICE_ERROR The serial device could not be initialized.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
RETURN_STATUS
|
RETURN_STATUS
|
||||||
@ -139,7 +139,7 @@ SerialPortWrite (
|
|||||||
|
|
||||||
while ((NumberOfBytes--) != 0) {
|
while ((NumberOfBytes--) != 0) {
|
||||||
//
|
//
|
||||||
// Wait for the serail port to be ready.
|
// Wait for the serial port to be ready.
|
||||||
//
|
//
|
||||||
do {
|
do {
|
||||||
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);
|
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);
|
||||||
@ -180,7 +180,7 @@ SerialPortRead (
|
|||||||
|
|
||||||
while ((NumberOfBytes--) != 0) {
|
while ((NumberOfBytes--) != 0) {
|
||||||
//
|
//
|
||||||
// Wait for the serail port to be ready.
|
// Wait for the serial port to be ready.
|
||||||
//
|
//
|
||||||
do {
|
do {
|
||||||
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);
|
Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user