]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.c
ArmVirtPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg
[mirror_edk2.git] / EmbeddedPkg / Library / SerialPortExtLibNull / SerialPortExtLibNull.c
1 /** @file
2
3 Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
4
5 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
9
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.
12
13 **/
14
15 #include <Library/SerialPortExtLib.h>
16
17 RETURN_STATUS
18 EFIAPI
19 SerialPortSetAttributes (
20 IN OUT UINT64 *BaudRate,
21 IN OUT UINT32 *ReceiveFifoDepth,
22 IN OUT UINT32 *Timeout,
23 IN OUT EFI_PARITY_TYPE *Parity,
24 IN OUT UINT8 *DataBits,
25 IN OUT EFI_STOP_BITS_TYPE *StopBits
26 )
27 {
28 return RETURN_SUCCESS;
29 }
30
31 RETURN_STATUS
32 EFIAPI
33 SerialPortSetControl (
34 IN UINT32 Control
35 )
36 {
37 return RETURN_SUCCESS;
38 }
39
40 RETURN_STATUS
41 EFIAPI
42 SerialPortGetControl (
43 OUT UINT32 *Control
44 )
45 {
46 *Control = 0;
47 return RETURN_SUCCESS;
48 }