\r
**/\r
\r
-/**\r
+/*\r
\r
Programmed hardware of Serial port.\r
\r
+ @return Always return EFI_UNSUPPORTED.\r
+\r
**/\r
EFI_STATUS\r
EFIAPI\r
/**\r
Write data to serial device. \r
\r
- If the buffer is NULL, then ASSERT(); \r
- if NumberOfBytes is zero, then ASSERT(). \r
-\r
@param Buffer Point of data buffer which need to be writed.\r
@param NumberOfBytes Number of output bytes which are cached in Buffer.\r
\r
UINTN\r
EFIAPI\r
SerialPortWrite (\r
- IN UINT8 *Buffer,\r
- IN UINTN NumberOfBytes\r
+ IN UINT8 *Buffer,\r
+ IN UINTN NumberOfBytes\r
)\r
{\r
return 0;\r
/**\r
Read data from serial device and save the datas in buffer.\r
\r
- If the buffer is NULL, then ASSERT(); \r
- if NumberOfBytes is zero, then ASSERT(). \r
-\r
@param Buffer Point of data buffer which need to be writed.\r
@param NumberOfBytes Number of output bytes which are cached in Buffer.\r
\r
UINTN\r
EFIAPI\r
SerialPortRead (\r
- OUT UINT8 *Buffer,\r
- IN UINTN NumberOfBytes\r
+ OUT UINT8 *Buffer,\r
+ IN UINTN NumberOfBytes\r
)\r
{\r
return 0;\r