X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FConsole%2FConSplitterDxe%2FConSplitterDxe.inf;h=d1dea7abbba81b4f372c6080f1dcec013e219548;hp=9aa8ba16e10f0fc2624b1900a10518700023a4cc;hb=6bfbb5f0e09c3fd70e0df5300dfed2e734c4a230;hpb=cfc8865f177c2846cd51f35fb0748bf4e11d8307 diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf index 9aa8ba16e1..d1dea7abbb 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf @@ -1,8 +1,16 @@ -#/** @file -# Component description file for ConSplitter module. +## @file +# This driver provides multi console supports. # -# Any Handle that attatched EFI_CONSOLE_IDENTIFIER_PROTOCOL can be bound by this driver. -# Copyright (c) 2006 - 2007, Intel Corporation +# This driver acts as a virtual console, takes over the console I/O control from selected +# standard console devices, and transmits console I/O to related console device drivers. +# Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system +# table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always +# consumes Graphics Output protocol which is produced by display device, and consumes UGA Draw +# protocol which is produced by display device according to PcdUgaConsumeSupport value. +# Note: If only UGA Draw protocol is installed in system table, PcdUgaConsumeSupport +# should be set to TRUE. +# +# Copyright (c) 2006 - 2010, 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 @@ -12,14 +20,14 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = ConSplitterDxe FILE_GUID = 408edcec-cf6d-477c-a5a8-b4844e3de281 MODULE_TYPE = UEFI_DRIVER - VERSION_STRING = 1.0 + VERSION_STRING = 1.0 ENTRY_POINT = ConSplitterDriverEntry # @@ -29,15 +37,19 @@ # # DRIVER_BINDING = gConSplitterConInDriverBinding # COMPONENT_NAME = gConSplitterConInComponentName +# COMPONENT_NAME2 = gConSplitterConInComponentName2 # DRIVER_BINDING = gConSplitterSimplePointerDriverBinding # COMPONENT_NAME = gConSplitterSimplePointerComponentName +# COMPONENT_NAME2 = gConSplitterSimplePointerComponentName2 # DRIVER_BINDING = gConSplitterConOutDriverBinding # COMPONENT_NAME = gConSplitterConOutComponentName +# COMPONENT_NAME2 = gConSplitterConOutComponentName2 # DRIVER_BINDING = gConSplitterStdErrDriverBinding # COMPONENT_NAME = gConSplitterStdErrComponentName +# COMPONENT_NAME2 = gConSplitterStdErrComponentName2 # -[Sources.common] +[Sources] ConSplitterGraphics.c ComponentName.c ConSplitter.h @@ -49,7 +61,6 @@ [LibraryClasses] UefiBootServicesTableLib - UefiRuntimeServicesTableLib MemoryAllocationLib BaseMemoryLib BaseLib @@ -59,26 +70,27 @@ PcdLib [Guids] - gEfiConsoleInDeviceGuid # ALWAYS_CONSUMED - gEfiStandardErrorDeviceGuid # ALWAYS_CONSUMED - gEfiConsoleOutDeviceGuid # ALWAYS_CONSUMED - gEfiPrimaryConsoleOutDeviceGuid # ALWAYS_PRODUCED - gEfiPrimaryConsoleInDeviceGuid # ALWAYS_PRODUCED - gEfiPrimaryStandardErrorDeviceGuid # ALWAYS_PRODUCED - gSimpleTextInExNotifyGuid # ALWAYS_PRODUCED - gEfiGenericPlatformVariableGuid # ALWAYS_CONSUMED + gEfiConsoleInDeviceGuid ## SOMETIMES_CONSUMES + gEfiStandardErrorDeviceGuid ## SOMETIMES_CONSUMES + gEfiConsoleOutDeviceGuid ## SOMETIMES_CONSUMES + [Protocols] - gEfiConsoleControlProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiSimplePointerProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiSimpleTextInProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiSimpleTextInputExProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiSimpleTextOutProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiGraphicsOutputProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiUgaDrawProtocolGuid # PROTOCOL ALWAYS_PRODUCED - gEfiAbsolutePointerProtocolGuid # PROTOCOL ALWAYS_PRODUCED + gEfiSimplePointerProtocolGuid ## BY_START + gEfiAbsolutePointerProtocolGuid ## BY_START + gEfiSimpleTextInProtocolGuid ## BY_START + gEfiSimpleTextInputExProtocolGuid ## BY_START + gEfiSimpleTextOutProtocolGuid ## BY_START + gEfiGraphicsOutputProtocolGuid ## BY_START + gEfiUgaDrawProtocolGuid ## BY_START + -[FeaturePcd.common] +[FeaturePcd] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport + +[Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn +