You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
This patch simplifies the GraphicsLib code and adds an abstraction layer for printing to a virtual "console," through the familier ConsoleWrite(buffer, len) style function call. ConsoleWrite can be configured to output to either the serial port, or the display framebuffer, or both. This primarily enables the command shell to be used with a display and keyboard. Signed-off-by: Borgerson, Matthew A <matthew.a.borgerson@intel.com>
51 lines
1.4 KiB
INI
51 lines
1.4 KiB
INI
## @file
|
|
# Instance of BaseFspDebugLib
|
|
#
|
|
# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php.
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = BaseFspDebugLibSerialPort
|
|
FILE_GUID = CEA4FF9C-D7BC-4F07-96F1-03F41F2B17AE
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = DebugLib
|
|
|
|
#
|
|
# VALID_ARCHITECTURES = IA32
|
|
#
|
|
|
|
[Sources]
|
|
DebugLib.c
|
|
|
|
[Sources.Ia32]
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
BootloaderCommonPkg/BootloaderCommonPkg.dec
|
|
|
|
[LibraryClasses]
|
|
SerialPortLib
|
|
DebugLogBufferLib
|
|
ConsoleOutLib
|
|
BaseMemoryLib
|
|
PcdLib
|
|
PrintLib
|
|
BaseLib
|
|
DebugPrintErrorLevelLib
|
|
|
|
[Pcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## CONSUMES
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
|
|
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES
|
|
gPlatformCommonLibTokenSpaceGuid.PcdDebugOutputDeviceMask ## CONSUMES
|