You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
2255bc10b0
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>
45 lines
1.2 KiB
INI
45 lines
1.2 KiB
INI
## @file
|
|
#
|
|
# 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 = ConsoleOutLib
|
|
FILE_GUID = 2167653D-A99A-4789-84D3-7D15B948F5AC
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ConsoleOutLib
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF
|
|
#
|
|
|
|
[Sources]
|
|
ConsoleOutLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
BootloaderCommonPkg/BootloaderCommonPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
GraphicsLib
|
|
SerialPortLib
|
|
|
|
[Guids]
|
|
|
|
[Pcd]
|
|
gPlatformCommonLibTokenSpaceGuid.PcdConsoleOutDeviceMask
|
|
gPlatformCommonLibTokenSpaceGuid.PcdDebugOutputDeviceMask
|