]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
1. Correct File header to ## @file
[mirror_edk2.git] / MdeModulePkg / Universal / Console / ConSplitterDxe / ConSplitterDxe.inf
index cb068cfa042fcea25a929c471a5255cc42b0801e..d1dea7abbba81b4f372c6080f1dcec013e219548 100644 (file)
@@ -1,9 +1,16 @@
-#/** @file\r
+## @file\r
 # This driver provides multi console supports.\r
 #\r
-# This driver acts as a virtual console, takes over the console I/O control from selected \r
+# This driver acts as a virtual console, takes over the console I/O control from selected\r
 # standard console devices, and transmits console I/O to related console device drivers.\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Consplitter could install Graphics Output protocol and/or UGA Draw protocol in system\r
+# table according PCD settings(PcdConOutGopSupport, and PcdConOutUgaSupport). It always\r
+# consumes Graphics Output protocol which is produced by display device, and consumes UGA Draw\r
+# protocol which is produced by display device according to PcdUgaConsumeSupport value.\r
+# Note: If only UGA Draw protocol is installed in system table, PcdUgaConsumeSupport\r
+# should be set to TRUE.\r
+#\r
+# Copyright (c) 2006 - 2010, Intel Corporation\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = ConSplitterDxe\r
   FILE_GUID                      = 408edcec-cf6d-477c-a5a8-b4844e3de281\r
   MODULE_TYPE                    = UEFI_DRIVER\r
-  VERSION_STRING                 = 1.0  \r
+  VERSION_STRING                 = 1.0\r
   ENTRY_POINT                    = ConSplitterDriverEntry\r
 \r
 #\r
@@ -42,7 +49,7 @@
 #  COMPONENT_NAME2               =  gConSplitterStdErrComponentName2\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   ConSplitterGraphics.c\r
   ComponentName.c\r
   ConSplitter.h\r
@@ -54,7 +61,6 @@
 \r
 [LibraryClasses]\r
   UefiBootServicesTableLib\r
-  UefiRuntimeServicesTableLib\r
   MemoryAllocationLib\r
   BaseMemoryLib\r
   BaseLib\r
   PcdLib\r
 \r
 [Guids]\r
-  gEfiConsoleInDeviceGuid                       # ALWAYS_CONSUMED\r
-  gEfiStandardErrorDeviceGuid                   # ALWAYS_CONSUMED\r
-  gEfiConsoleOutDeviceGuid                      # ALWAYS_CONSUMED\r
-  gEfiPrimaryConsoleOutDeviceGuid               # ALWAYS_PRODUCED\r
-  gEfiPrimaryConsoleInDeviceGuid                # ALWAYS_PRODUCED\r
-  gEfiPrimaryStandardErrorDeviceGuid            # ALWAYS_PRODUCED\r
-  gSimpleTextInExNotifyGuid                     # ALWAYS_PRODUCED\r
-  gEfiGenericPlatformVariableGuid               # ALWAYS_CONSUMED\r
+  gEfiConsoleInDeviceGuid                       ## SOMETIMES_CONSUMES\r
+  gEfiStandardErrorDeviceGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiConsoleOutDeviceGuid                      ## SOMETIMES_CONSUMES\r
+\r
 \r
 [Protocols]\r
-  gEfiConsoleControlProtocolGuid                # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiSimplePointerProtocolGuid                 # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiSimpleTextInProtocolGuid                  # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiSimpleTextInputExProtocolGuid             # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiSimpleTextOutProtocolGuid                 # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiGraphicsOutputProtocolGuid                # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiUgaDrawProtocolGuid                       # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiAbsolutePointerProtocolGuid               # PROTOCOL ALWAYS_PRODUCED\r
+  gEfiSimplePointerProtocolGuid                 ## BY_START\r
+  gEfiAbsolutePointerProtocolGuid               ## BY_START\r
+  gEfiSimpleTextInProtocolGuid                  ## BY_START\r
+  gEfiSimpleTextInputExProtocolGuid             ## BY_START\r
+  gEfiSimpleTextOutProtocolGuid                 ## BY_START\r
+  gEfiGraphicsOutputProtocolGuid                ## BY_START\r
+  gEfiUgaDrawProtocolGuid                       ## BY_START\r
+\r
 \r
-[FeaturePcd.common]\r
+[FeaturePcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport\r
   gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport\r
+\r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn\r
+\r