-#/** @file\r
-# Console Platfrom Driver\r
+## @file\r
+# Platform console driver manages console devices.\r
#\r
-# Console Platfrom DXE Driver, install Console protocols\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# Console Platfrom DXE Driver that specifies whether device can be used as console\r
+# input/output device or error output device and update global variables accordingly.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2018, 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 = ConPlatformDxe\r
+ MODULE_UNI_FILE = ConPlatformDxe.uni\r
FILE_GUID = 51ccf399-4fdf-4e55-a45b-e123f84d456a\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = InitializeConPlatform\r
\r
#\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
-# DRIVER_BINDING = gConPlatformTextInDriverBinding \r
-# COMPONENT_NAME = gConPlatformComponentName \r
-# DRIVER_BINDING = gConPlatformTextOutDriverBinding \r
-# COMPONENT_NAME = gConPlatformComponentName \r
+# DRIVER_BINDING = gConPlatformTextInDriverBinding\r
+# COMPONENT_NAME = gConPlatformComponentName\r
+# COMPONENT_NAME2 = gConPlatformComponentName2\r
+# DRIVER_BINDING = gConPlatformTextOutDriverBinding\r
+# COMPONENT_NAME = gConPlatformComponentName\r
+# COMPONENT_NAME2 = gConPlatformComponentName2\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
ConPlatform.h\r
ConPlatform.c\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
+ UefiBootManagerLib\r
\r
[Guids]\r
- gEfiGlobalVariableGuid # SOMETIMES_CONSUMED L"ErrOut"\r
+ #\r
+ # This is the VendorGuid of all architecturally defined variables in UEFI spec.\r
+ #\r
+ ## SOMETIMES_CONSUMES ## Variable:L"ConIn"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"ConOut"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"ErrOut"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"ConInDev"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"ConOutDev"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"ErrOutDev"\r
+ gEfiGlobalVariableGuid\r
+ #\r
+ # This GUID is used to specify the device is the standard error device.\r
+ # If the device is a standard error device, this GUID as the protocol GUID will be installed\r
+ # onto this device handle.\r
+ #\r
+ gEfiStandardErrorDeviceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle\r
+ #\r
+ # This GUID is used to specify the device is the console output device.\r
+ # If the device is a console output device, this GUID as the protocol GUID will be installed\r
+ # onto this device handle.\r
+ #\r
+ gEfiConsoleOutDeviceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle\r
+ #\r
+ # This GUID is used to specify the device is the console input device.\r
+ # If the device is a console input device, this GUID as the protocol GUID will be installed\r
+ # onto this device handle.\r
+ #\r
+ gEfiConsoleInDeviceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle\r
\r
[Protocols]\r
- gEfiHotPlugDeviceGuid # PROTOCOL TO_START\r
- gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r
- gEfiSimpleTextInProtocolGuid # PROTOCOL TO_START\r
- gEfiSimpleTextOutProtocolGuid # PROTOCOL TO_START\r
- gEfiStandardErrorDeviceGuid # PROTOCOL BY_START\r
- gEfiConsoleOutDeviceGuid # PROTOCOL BY_START\r
- gEfiConsoleInDeviceGuid # PROTOCOL BY_START\r
+ gEfiDevicePathProtocolGuid ## TO_START\r
+ gEfiSimpleTextInProtocolGuid ## TO_START\r
+ gEfiSimpleTextOutProtocolGuid ## TO_START\r
+ gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ ConPlatformDxeExtra.uni\r