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
\r
#include <Library/SerialPortLib.h>\r
\r
-/*\r
+/**\r
\r
Programmed hardware of Serial port.\r
\r
SerialPortWrite (\r
IN UINT8 *Buffer,\r
IN UINTN NumberOfBytes\r
-)\r
+ )\r
{\r
return 0;\r
}\r
SerialPortRead (\r
OUT UINT8 *Buffer,\r
IN UINTN NumberOfBytes\r
-)\r
+ )\r
{\r
return 0;\r
}\r
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