X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FConsole%2FGraphicsConsoleDxe%2FGraphicsConsoleDxe.inf;h=bcfd306eee138ff9ed98bb70e05549609ef2f4cf;hp=4a07393df96a37b5a3a942c04f40070dbd7e4e2a;hb=0a35997643972d3b76a67547cbffeaa8a3d708c3;hpb=d42d853ee0cd3abb9d5cfd7df9b87c23dce2e19d diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf index 4a07393df9..bcfd306eee 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf @@ -1,40 +1,35 @@ -#/** @file -# Component description file for GraphicsConsole module +## @file +# Console support on graphic devices. # -# This is the main routine for initializing the Graphics Console support routines. -# Copyright (c) 2006 - 2007, Intel Corporation +# This driver will install Simple Text Output protocol by consuming Graphices Output +# protocol or UGA Draw protocol on graphic devices. # -# All rights reserved. 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. +# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent # # -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = GraphicsConsoleDxe + MODULE_UNI_FILE = GraphicsConsoleDxe.uni FILE_GUID = CCCB0C28-4B24-11d5-9A5A-0090273FC14D - MODULE_TYPE = DXE_DRIVER + MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x0002000A - ENTRY_POINT = InitializeGraphicsConsole # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC # # DRIVER_BINDING = gGraphicsConsoleDriverBinding # COMPONENT_NAME = gGraphicsConsoleComponentName +# COMPONENT_NAME2 = gGraphicsConsoleComponentName2 # -[Sources.common] +[Sources] ComponentName.c LaffStd.c GraphicsConsole.c @@ -42,7 +37,6 @@ [Packages] MdePkg/MdePkg.dec - # currently use Hii for glyph lookup, need to change to UEFI scheme MdeModulePkg/MdeModulePkg.dec [LibraryClasses] @@ -53,12 +47,26 @@ UefiDriverEntryPoint DebugLib HiiLib + PcdLib [Protocols] - gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiSimpleTextOutProtocolGuid # PROTOCOL BY_START - gEfiGraphicsOutputProtocolGuid # PROTOCOL TO_START - gEfiUgaDrawProtocolGuid # PROTOCOL TO_START - gEfiHiiFontProtocolGuid + gEfiDevicePathProtocolGuid ## TO_START + gEfiSimpleTextOutProtocolGuid ## BY_START + gEfiGraphicsOutputProtocolGuid ## TO_START + gEfiUgaDrawProtocolGuid ## TO_START + gEfiHiiFontProtocolGuid ## TO_START + ## TO_START + ## NOTIFY gEfiHiiDatabaseProtocolGuid - \ No newline at end of file + +[FeaturePcd] + gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES + +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn ## SOMETIMES_CONSUMES + +[UserExtensions.TianoCore."ExtraFiles"] + GraphicsConsoleDxeExtra.uni