X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=CorebootModulePkg%2FLibrary%2FBaseSerialPortLib16550%2FBaseSerialPortLib16550.c;h=a5e1755a44ff473342cb27445329f7c458e184e0;hb=06516768ed3b9429fcfb4fb082bfd8b569b47d25;hp=ca6db2306ac48899adc8183a10b0906b9895b39e;hpb=070827be5a5727c736acf5d645722be073640952;p=mirror_edk2.git diff --git a/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c index ca6db2306a..a5e1755a44 100644 --- a/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c +++ b/CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c @@ -23,7 +23,7 @@ #include // -// PCI Defintions. +// PCI Definitions. // #define PCI_BRIDGE_32_BIT_IO_SPACE 0x01 @@ -451,7 +451,7 @@ SerialPortWritable ( // 0 0 No cable connected. Transmit // 0 1 No cable connected. Transmit // 1 0 Cable connected, but not clear to send. Wait - // 1 1 Cable connected, and clar to send. Transmit + // 1 1 Cable connected, and clear to send. Transmit // return (BOOLEAN) ((SerialPortReadRegister (SerialRegisterBase, R_UART_MSR) & (B_UART_MSR_DSR | B_UART_MSR_CTS)) != (B_UART_MSR_DSR)); } @@ -722,7 +722,7 @@ SerialPortRead ( /** Polls a serial device to see if there is any data waiting to be read. - Polls aserial device to see if there is any data waiting to be read. + Polls a serial device to see if there is any data waiting to be read. If there is data waiting to be read from the serial device, then TRUE is returned. If there is no data waiting to be read from the serial device, then FALSE is returned. @@ -903,13 +903,13 @@ SerialPortGetControl ( } /** - Sets the baud rate, receive FIFO depth, transmit/receice time out, parity, + Sets the baud rate, receive FIFO depth, transmit/receive time out, parity, data bits, and stop bits on a serial device. @param BaudRate The requested baud rate. A BaudRate value of 0 will use the device's default interface speed. On output, the value actually set. - @param ReveiveFifoDepth The requested depth of the FIFO on the receive side of the + @param ReceiveFifoDepth The requested depth of the FIFO on the receive side of the serial interface. A ReceiveFifoDepth value of 0 will use the device's default FIFO depth. On output, the value actually set. @@ -922,7 +922,7 @@ SerialPortGetControl ( DefaultParity will use the device's default parity value. On output, the value actually set. @param DataBits The number of data bits to use on the serial device. A DataBits - vaule of 0 will use the device's default data bit setting. + value of 0 will use the device's default data bit setting. On output, the value actually set. @param StopBits The number of stop bits to use on this serial device. A StopBits value of DefaultStopBits will use the device's default number of