]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/SerialDxe/SerialIo.c
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / EmbeddedPkg / SerialDxe / SerialIo.c
index 0bdf4b9f63fee6e44796664c3d7d5f1aade2f980..7a849b7a01392bf7e51f74c5a23fbe08798ff8bf 100644 (file)
@@ -1,9 +1,9 @@
 /** @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
@@ -56,7 +56,7 @@ EFI_HANDLE  gHandle = NULL;
   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
@@ -247,7 +247,7 @@ SerialSetControl (
 \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
@@ -285,7 +285,7 @@ SerialWrite (
   )\r
 {\r
   UINTN Count;\r
-  \r
+\r
   Count = SerialPortWrite (Buffer, *BufferSize);\r
 \r
   if (Count != *BufferSize) {\r
@@ -332,7 +332,7 @@ SerialRead (
   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
@@ -379,13 +379,13 @@ SerialDxeInitialize (
 \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