X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FConsole%2FGraphicsConsoleDxe%2FGraphicsConsoleDxe.inf;h=bcfd306eee138ff9ed98bb70e05549609ef2f4cf;hp=a12406c236af6e2036b4cf0314326ceacfe81ba3;hb=0a35997643972d3b76a67547cbffeaa8a3d708c3;hpb=00bfdbe10a0134f7ed0cefb772c6f0801eb3991a diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf index a12406c236..bcfd306eee 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf @@ -1,23 +1,19 @@ -#/** @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 - 2008, Intel Corporation -# 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. +# This driver will install Simple Text Output protocol by consuming Graphices Output +# protocol or UGA Draw protocol on graphic devices. # +# 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 = UEFI_DRIVER VERSION_STRING = 1.0 @@ -26,14 +22,14 @@ # # 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 @@ -51,14 +47,26 @@ UefiDriverEntryPoint DebugLib HiiLib + PcdLib [Protocols] - gEfiDevicePathProtocolGuid ## CONSUMES + gEfiDevicePathProtocolGuid ## TO_START gEfiSimpleTextOutProtocolGuid ## BY_START gEfiGraphicsOutputProtocolGuid ## TO_START gEfiUgaDrawProtocolGuid ## TO_START gEfiHiiFontProtocolGuid ## TO_START - gEfiHiiDatabaseProtocolGuid ## TO_START + ## TO_START + ## NOTIFY + gEfiHiiDatabaseProtocolGuid + +[FeaturePcd] + gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## CONSUMES + +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow ## SOMETIMES_CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn ## SOMETIMES_CONSUMES -[FeaturePcd.common] - gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport \ No newline at end of file +[UserExtensions.TianoCore."ExtraFiles"] + GraphicsConsoleDxeExtra.uni