2007-07-05 09:05:28 +02:00
|
|
|
#/** @file
|
2009-01-23 11:01:51 +01:00
|
|
|
# Console Platfrom DXE Driver that specifies whether device can be used as console
|
|
|
|
# input/output device or error output device and update global variables accordingly.
|
2007-07-05 09:05:28 +02:00
|
|
|
#
|
2008-11-07 08:18:15 +01:00
|
|
|
# Copyright (c) 2006 - 2008, Intel Corporation
|
2007-07-05 09:05:28 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2007-07-18 16:35:45 +02:00
|
|
|
BASE_NAME = ConPlatformDxe
|
2007-07-05 09:05:28 +02:00
|
|
|
FILE_GUID = 51ccf399-4fdf-4e55-a45b-e123f84d456a
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = InitializeConPlatform
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
2008-12-04 08:12:25 +01:00
|
|
|
# DRIVER_BINDING = gConPlatformTextInDriverBinding
|
|
|
|
# COMPONENT_NAME = gConPlatformComponentName
|
|
|
|
# COMPONENT_NAME2 = gConPlatformComponentName2
|
|
|
|
# DRIVER_BINDING = gConPlatformTextOutDriverBinding
|
|
|
|
# COMPONENT_NAME = gConPlatformComponentName
|
|
|
|
# COMPONENT_NAME2 = gConPlatformComponentName2
|
2007-07-05 09:05:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
ComponentName.c
|
|
|
|
ConPlatform.h
|
|
|
|
ConPlatform.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2007-08-29 10:52:49 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2007-07-05 09:05:28 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
MemoryAllocationLib
|
|
|
|
DevicePathLib
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
[Guids]
|
2009-01-23 11:01:51 +01:00
|
|
|
##
|
|
|
|
# This is the VendorGuid of all architecturally defined variables in UEFI spec.
|
|
|
|
#
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ConIn"
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ConOut"
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ErrOut"
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ConInDev"
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ConOutDev"
|
|
|
|
gEfiGlobalVariableGuid ## CONSUMES ## Variable:L"ErrOutDev"
|
|
|
|
##
|
|
|
|
# This GUID is used to specify the device is the standard error device.
|
|
|
|
# If the device is a standard error device, this GUID as the protocol GUID will be installed
|
|
|
|
# onto this device handle.
|
|
|
|
#
|
|
|
|
gEfiStandardErrorDeviceGuid ## PROTOCOL
|
|
|
|
##
|
|
|
|
# This GUID is used to specify the device is the console output device.
|
|
|
|
# If the device is a console output device, this GUID as the protocol GUID will be installed
|
|
|
|
# onto this device handle.
|
|
|
|
#
|
|
|
|
gEfiConsoleOutDeviceGuid ## PROTOCOL
|
|
|
|
##
|
|
|
|
# This GUID is used to specify the device is the console input device.
|
|
|
|
# If the device is a console input device, this GUID as the protocol GUID will be installed
|
|
|
|
# onto this device handle.
|
|
|
|
#
|
|
|
|
gEfiConsoleInDeviceGuid ## PROTOCOL
|
2009-01-16 08:33:08 +01:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiDevicePathProtocolGuid ## TO_START
|
|
|
|
gEfiSimpleTextInProtocolGuid ## TO_START
|
|
|
|
gEfiSimpleTextOutProtocolGuid ## TO_START
|
2008-08-20 06:29:05 +02:00
|
|
|
|