blob: ee82193d96dc3541aa39a6f6371bef66a3b1d7d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
## @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 - 2010, 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]
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
|