X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FInclude%2FLibrary%2FGdbSerialLib.h;h=9f1c80145e4a1714b49d8ede98a01a65cf289c99;hp=6e8eeb4e6f32e0ae37bb953e8b0a841aaaae6657;hb=878b807a435eefbb1d76f9bdec30cb3526521a5e;hpb=1e57a46299244793beb27e74be171d1540606999 diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h index 6e8eeb4e6f..9f1c80145e 100644 --- a/EmbeddedPkg/Include/Library/GdbSerialLib.h +++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h @@ -3,13 +3,7 @@ Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
- This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -19,7 +13,7 @@ /** - Sets the baud rate, receive FIFO depth, transmit/receice time out, parity, + Sets the baud rate, receive FIFO depth, transmit/receice time out, parity, data buts, and stop bits on a serial device. This call is optional as the serial port will be set up with defaults base on PCD values. @@ -40,20 +34,20 @@ RETURN_STATUS EFIAPI GdbSerialInit ( - IN UINT64 BaudRate, - IN UINT8 Parity, - IN UINT8 DataBits, - IN UINT8 StopBits - ); + IN UINT64 BaudRate, + IN UINT8 Parity, + IN UINT8 DataBits, + IN UINT8 StopBits + ); /** Check to see if a character is available from GDB. Do not read the character as that is done via GdbGetChar(). - @return TRUE - Character availible - @return FALSE - Character not availible - + @return TRUE - Character available + @return FALSE - Character not available + **/ BOOLEAN EFIAPI @@ -65,7 +59,7 @@ GdbIsCharAvailable ( Get a character from GDB. This function must be able to run in interrupt context. @return A character from GDB - + **/ CHAR8 EFIAPI