]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c
2 Null Serial Port library instance with empty functions.
4 Copyright (c) 2006 - 2008, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include <Library/SerialPortLib.h>
22 Programmed hardware of Serial port.
24 @return Always return RETURN_UNSUPPORTED.
29 SerialPortInitialize (
33 return RETURN_UNSUPPORTED
;
37 Write data to serial device.
39 @param Buffer Point of data buffer which need to be writed.
40 @param NumberOfBytes Number of output bytes which are cached in Buffer.
42 @retval 0 No data is to be written.
49 IN UINTN NumberOfBytes
57 Read data from serial device and save the datas in buffer.
59 @param Buffer Point of data buffer, which contains the data
60 returned from the serial device.
61 @param NumberOfBytes Number of bytes which will be read.
63 @retval 0 No data is to be read.
70 IN UINTN NumberOfBytes