4ca412a34496493e8e47d68495b6f70c267029c7
[mirror_edk2.git] / IntelFrameworkModulePkg / Csm / LegacyBiosDxe / LegacyBiosDxe.inf
1 ## @file
2 # Legacy Bios Module to support CSM.
3 #
4 # This driver installs Legacy Bios Protocol to support CSM module work in EFI system.
5 #
6 # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
7 #
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions
10 # of the BSD License which accompanies this distribution. The
11 # full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = LegacyBiosDxe
22 MODULE_UNI_FILE = LegacyBiosDxe.uni
23 FILE_GUID = F122A15C-C10B-4d54-8F48-60F4F06DD1AD
24 MODULE_TYPE = DXE_DRIVER
25 VERSION_STRING = 1.0
26
27 ENTRY_POINT = LegacyBiosInstall
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF
33 #
34
35 [Sources]
36 LegacyCmos.c
37 LegacyIde.c
38 LegacyBios.c
39 LegacyBda.c
40 LegacyBiosInterface.h
41 LegacyPci.c
42
43 [Sources.Ia32]
44 IA32/InterruptTable.S
45 IA32/InterruptTable.asm
46 IA32/InterruptTable.nasm
47 Thunk.c
48 LegacyBootSupport.c
49 LegacyBbs.c
50 LegacySio.c
51
52 [Sources.X64]
53 X64/InterruptTable.nasm
54 X64/InterruptTable.asm
55 X64/InterruptTable.S
56 Thunk.c
57 LegacyBootSupport.c
58 LegacyBbs.c
59 LegacySio.c
60
61 [Sources.IPF]
62 Ipf/IpfThunk.s
63 Ipf/Thunk.c
64 Ipf/IpfThunk.i
65 Ipf/IpfBootSupport.c
66 Ipf/IpfThunk.h
67
68 [Packages]
69 MdePkg/MdePkg.dec
70 MdeModulePkg/MdeModulePkg.dec
71 IntelFrameworkPkg/IntelFrameworkPkg.dec
72 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
73
74
75 [LibraryClasses]
76 DevicePathLib
77 UefiBootServicesTableLib
78 MemoryAllocationLib
79 UefiDriverEntryPoint
80 BaseMemoryLib
81 UefiLib
82 DebugLib
83 DxeServicesTableLib
84 PcdLib
85 ReportStatusCodeLib
86 PeCoffLib
87 CacheMaintenanceLib
88 DebugAgentLib
89
90 [LibraryClasses.IA32]
91 IoLib
92 HobLib
93 UefiRuntimeServicesTableLib
94 BaseLib
95
96 [LibraryClasses.X64]
97 IoLib
98 HobLib
99 UefiRuntimeServicesTableLib
100 BaseLib
101
102 [LibraryClasses.IPF]
103 IoLib
104 UefiRuntimeServicesTableLib
105
106
107 [Guids]
108 gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_CONSUMES ##GUID #Used in LegacyBiosBuildIdeData() to assure device is a disk
109 gEfiSmbiosTableGuid ## SOMETIMES_CONSUMES ##SystemTable
110 gEfiLegacyBiosGuid ## SOMETIMES_CONSUMES ##GUID #Used in LegacyBiosInstallVgaRom() to locate handle buffer
111
112 [Guids.IA32]
113 gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ##SystemTable
114 gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ##SystemTable
115
116 [Guids.X64]
117 gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ##SystemTable
118 gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ##SystemTable
119
120
121 [Protocols]
122 gEfiLoadedImageProtocolGuid ## SOMETIMES_CONSUMES
123 gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
124 gEfiPciRootBridgeIoProtocolGuid ## SOMETIMES_CONSUMES
125 gEfiCpuArchProtocolGuid ## CONSUMES
126 gEfiTimerArchProtocolGuid ## CONSUMES
127 gEfiIsaIoProtocolGuid ## SOMETIMES_CONSUMES
128 gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
129 gEfiPciIoProtocolGuid ## SOMETIMES_CONSUMES
130 gEfiGenericMemTestProtocolGuid ## CONSUMES
131 gEfiDiskInfoProtocolGuid ## SOMETIMES_CONSUMES
132 gEfiSimpleTextInProtocolGuid ## SOMETIMES_CONSUMES
133 gEfiLegacy8259ProtocolGuid ## CONSUMES
134 gEfiLegacyBiosPlatformProtocolGuid ## CONSUMES
135 gEfiLegacyInterruptProtocolGuid ## CONSUMES
136 gEfiLegacyRegion2ProtocolGuid ## CONSUMES
137 gEfiLegacyBiosProtocolGuid ## PRODUCES
138 gEfiSerialIoProtocolGuid ## CONSUMES
139 gEfiSioProtocolGuid ## CONSUMES
140
141 [Pcd]
142 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion ## CONSUMES
143 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize ## CONSUMES
144 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEndOpromShadowAddress ## SOMETIMES_CONSUMES
145 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLowPmmMemorySize ## CONSUMES
146 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize ## CONSUMES
147 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemoryBase ## CONSUMES
148 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemorySize ## CONSUMES
149
150 [Depex]
151 gEfiLegacyRegion2ProtocolGuid AND gEfiLegacyInterruptProtocolGuid AND gEfiLegacyBiosPlatformProtocolGuid AND gEfiLegacy8259ProtocolGuid AND gEfiGenericMemTestProtocolGuid AND gEfiCpuArchProtocolGuid AND gEfiTimerArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
152
153 [UserExtensions.TianoCore."ExtraFiles"]
154 LegacyBiosDxeExtra.uni