2010-12-18 02:02:59 +01:00
|
|
|
## @file
|
2014-08-11 08:38:28 +02:00
|
|
|
# SerialPortLib instance for 16550 UART.
|
2010-12-18 02:02:59 +01:00
|
|
|
#
|
2019-04-26 08:26:44 +02:00
|
|
|
# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
2020-10-02 23:14:01 +02:00
|
|
|
# Copyright (c) 2020, ARM Limited. All rights reserved.
|
|
|
|
#
|
2019-04-04 01:05:13 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2010-12-18 02:02:59 +01:00
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = BaseSerialPortLib16550
|
2014-08-11 08:38:28 +02:00
|
|
|
MODULE_UNI_FILE = BaseSerialPortLib16550.uni
|
2010-12-18 02:02:59 +01:00
|
|
|
FILE_GUID = 9E7C00CF-355A-4d4e-BF60-0428CFF95540
|
|
|
|
MODULE_TYPE = BASE
|
2015-04-27 21:44:40 +02:00
|
|
|
VERSION_STRING = 1.1
|
2010-12-18 02:02:59 +01:00
|
|
|
LIBRARY_CLASS = SerialPortLib
|
2020-10-02 23:14:01 +02:00
|
|
|
CONSTRUCTOR = BaseSerialPortLib16550
|
2010-12-18 02:02:59 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
|
|
|
IoLib
|
|
|
|
PlatformHookLib
|
2014-08-11 08:38:28 +02:00
|
|
|
PciLib
|
2010-12-18 02:02:59 +01:00
|
|
|
|
|
|
|
[Sources]
|
|
|
|
BaseSerialPortLib16550.c
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2010-12-18 02:02:59 +01:00
|
|
|
[Pcd]
|
2019-04-26 08:26:44 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterAccessWidth ## SOMETIMES_CONSUMES
|
2014-08-11 08:38:28 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl ## CONSUMES
|
2015-04-27 21:44:40 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride ## CONSUMES
|