]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c
ArmPkg/SemihostFs: Implement SetInfo() and handle seeking past the end of a file
[mirror_edk2.git] / EmbeddedPkg / Library / TemplateSerialPortLib / TemplateSerialPortLib.c
index 9cc2b79a8c0a2542d41da6bb0d69f2990e7d0808..c3f8bd129802054b3ac62ba43311caa7303abbf6 100644 (file)
@@ -2,7 +2,8 @@
   Serial I/O Port library functions with no library constructor/destructor\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \r
+  Copyright (c) 2012, ARM Ltd. All rights reserved.\r
+\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -18,7 +19,7 @@
 \r
 #include <Library/SerialPortLib.h>\r
 \r
-/*\r
+/**\r
 \r
   Programmed hardware of Serial port.\r
 \r
@@ -49,7 +50,7 @@ EFIAPI
 SerialPortWrite (\r
   IN UINT8     *Buffer,\r
   IN UINTN     NumberOfBytes\r
-)\r
+  )\r
 {\r
   return 0;\r
 }\r
@@ -70,7 +71,7 @@ EFIAPI
 SerialPortRead (\r
   OUT UINT8     *Buffer,\r
   IN  UINTN     NumberOfBytes\r
-)\r
+  )\r
 {\r
   return 0;\r
 }\r
@@ -81,7 +82,7 @@ SerialPortRead (
   Poll the serial device to see if there is any data waiting.\r
 \r
   If there is data waiting to be read from the serial port, then return\r
-  TRUE.  If there is no data waiting to be read from the serial port, then \r
+  TRUE.  If there is no data waiting to be read from the serial port, then\r
   return FALSE.\r
 \r
   @retval TRUE             Data is waiting to be read.\r