-#/** @file\r
-# Component description file for ConSplitter module.\r
+## @file\r
+# This driver provides multi console supports.\r
#\r
-# Any Handle that attatched EFI_CONSOLE_IDENTIFIER_PROTOCOL can be bound by this driver.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\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
+# 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
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\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 = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
- ENTRY_POINT = InitializeConSplitter\r
+ ENTRY_POINT = ConSplitterDriverEntry\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
# DRIVER_BINDING = gConSplitterConInDriverBinding\r
# COMPONENT_NAME = gConSplitterConInComponentName\r
+# COMPONENT_NAME2 = gConSplitterConInComponentName2\r
# DRIVER_BINDING = gConSplitterSimplePointerDriverBinding\r
# COMPONENT_NAME = gConSplitterSimplePointerComponentName\r
+# COMPONENT_NAME2 = gConSplitterSimplePointerComponentName2\r
# DRIVER_BINDING = gConSplitterConOutDriverBinding\r
# COMPONENT_NAME = gConSplitterConOutComponentName\r
+# COMPONENT_NAME2 = gConSplitterConOutComponentName2\r
# DRIVER_BINDING = gConSplitterStdErrDriverBinding\r
# COMPONENT_NAME = gConSplitterStdErrComponentName\r
+# COMPONENT_NAME2 = gConSplitterStdErrComponentName2\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
ConSplitterGraphics.c\r
ComponentName.c\r
ConSplitter.h\r
\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
-[FeaturePcd.common]\r
+\r
+[FeaturePcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport\r
+ gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport\r
+\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn\r
+\r