/** @file\r
- Serial IO Abstraction for GDB stub. This allows an EFI consoles that shows up on the system \r
+ Serial IO Abstraction for GDB stub. This allows an EFI consoles that shows up on the system\r
running GDB. One console for error information and another console for user input/output.\r
\r
Basic packet format is $packet-data#checksum. So every command has 4 bytes of overhead: $,\r
- #, 0, 0. The 0 and 0 are the ascii characters for the checksum. \r
+ #, 0, 0. The 0 and 0 are the ascii characters for the checksum.\r
\r
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
Reset the serial device.\r
\r
@param This Protocol instance pointer.\r
- \r
+\r
@retval EFI_SUCCESS The device was reset.\r
@retval EFI_DEVICE_ERROR The serial device could not be reset.\r
\r
\r
@param This Protocol instance pointer.\r
@param Control A pointer to return the current Control signals from the serial device.\r
- \r
+\r
@retval EFI_SUCCESS The control bits were read from the serial device.\r
@retval EFI_DEVICE_ERROR The serial device is not functioning correctly.\r
\r
)\r
{\r
UINTN Count;\r
- \r
+\r
Count = SerialPortWrite (Buffer, *BufferSize);\r
\r
if (Count != *BufferSize) {\r
return EFI_SUCCESS;\r
}\r
\r
-// \r
+//\r
// Template used to initialize the GDB Serial IO protocols\r
//\r
EFI_SERIAL_IO_MODE gSerialIoMode = {\r
\r
// Make a new handle with Serial IO protocol and its device path on it.\r
Status = gBS->InstallMultipleProtocolInterfaces (\r
- &gHandle, \r
+ &gHandle,\r
&gEfiSerialIoProtocolGuid, &gSerialIoTemplate,\r
- &gEfiDevicePathProtocolGuid, &mDevicePath, \r
+ &gEfiDevicePathProtocolGuid, &mDevicePath,\r
NULL\r
);\r
ASSERT_EFI_ERROR (Status);\r
- \r
+\r
return Status;\r
}\r
\r