mirror of https://github.com/acidanthera/audk.git
91 lines
3.6 KiB
INI
91 lines
3.6 KiB
INI
#/** @file
|
|
# 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.
|
|
#
|
|
# Copyright (c) 2006 - 2008, 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
|
|
# 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
|
|
BASE_NAME = ConPlatformDxe
|
|
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
|
|
#
|
|
# DRIVER_BINDING = gConPlatformTextInDriverBinding
|
|
# COMPONENT_NAME = gConPlatformComponentName
|
|
# COMPONENT_NAME2 = gConPlatformComponentName2
|
|
# DRIVER_BINDING = gConPlatformTextOutDriverBinding
|
|
# COMPONENT_NAME = gConPlatformComponentName
|
|
# COMPONENT_NAME2 = gConPlatformComponentName2
|
|
#
|
|
|
|
[Sources.common]
|
|
ComponentName.c
|
|
ConPlatform.h
|
|
ConPlatform.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
MemoryAllocationLib
|
|
DevicePathLib
|
|
UefiRuntimeServicesTableLib
|
|
UefiBootServicesTableLib
|
|
BaseMemoryLib
|
|
UefiLib
|
|
UefiDriverEntryPoint
|
|
DebugLib
|
|
|
|
[Guids]
|
|
##
|
|
# 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
|
|
|
|
[Protocols]
|
|
gEfiDevicePathProtocolGuid ## TO_START
|
|
gEfiSimpleTextInProtocolGuid ## TO_START
|
|
gEfiSimpleTextOutProtocolGuid ## TO_START
|
|
gEfiHotPlugDeviceGuid ## SOMETIMES_CONSUMES (Used to check if it's a hot-plug device)
|
|
|