• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 - 2014, 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  Thunk.c
47  LegacyBootSupport.c
48  LegacyBbs.c
49  LegacySio.c
50
51[Sources.X64]
52  X64/InterruptTable.asm
53  X64/InterruptTable.S
54  Thunk.c
55  LegacyBootSupport.c
56  LegacyBbs.c
57  LegacySio.c
58
59[Sources.IPF]
60  Ipf/IpfThunk.s
61  Ipf/Thunk.c
62  Ipf/IpfThunk.i
63  Ipf/IpfBootSupport.c
64  Ipf/IpfThunk.h
65
66[Packages]
67  MdePkg/MdePkg.dec
68  MdeModulePkg/MdeModulePkg.dec
69  IntelFrameworkPkg/IntelFrameworkPkg.dec
70  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
71
72
73[LibraryClasses]
74  DevicePathLib
75  UefiBootServicesTableLib
76  MemoryAllocationLib
77  UefiDriverEntryPoint
78  BaseMemoryLib
79  UefiLib
80  DebugLib
81  DxeServicesTableLib
82  PcdLib
83  ReportStatusCodeLib
84  PeCoffLib
85  CacheMaintenanceLib
86  DebugAgentLib
87
88[LibraryClasses.IA32]
89  IoLib
90  HobLib
91  UefiRuntimeServicesTableLib
92  BaseLib
93
94[LibraryClasses.X64]
95  IoLib
96  HobLib
97  UefiRuntimeServicesTableLib
98  BaseLib
99
100[LibraryClasses.IPF]
101  IoLib
102  UefiRuntimeServicesTableLib
103
104
105[Guids]
106  gEfiDiskInfoIdeInterfaceGuid                  ## SOMETIMES_CONSUMES ##GUID #Used in LegacyBiosBuildIdeData() to assure device is a disk
107  gEfiSmbiosTableGuid                           ## SOMETIMES_CONSUMES ##SystemTable
108  gEfiLegacyBiosGuid                            ## SOMETIMES_CONSUMES ##GUID #Used in LegacyBiosInstallVgaRom() to locate handle buffer
109
110[Guids.IA32]
111  gEfiAcpi20TableGuid                           ## SOMETIMES_CONSUMES ##SystemTable
112  gEfiAcpi10TableGuid                           ## SOMETIMES_CONSUMES ##SystemTable
113
114[Guids.X64]
115  gEfiAcpi20TableGuid                           ## SOMETIMES_CONSUMES ##SystemTable
116  gEfiAcpi10TableGuid                           ## SOMETIMES_CONSUMES ##SystemTable
117
118
119[Protocols]
120  gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMES
121  gEfiDevicePathProtocolGuid                    ## SOMETIMES_CONSUMES
122  gEfiPciRootBridgeIoProtocolGuid               ## SOMETIMES_CONSUMES
123  gEfiCpuArchProtocolGuid                       ## CONSUMES
124  gEfiTimerArchProtocolGuid                     ## CONSUMES
125  gEfiIsaIoProtocolGuid                         ## SOMETIMES_CONSUMES
126  gEfiBlockIoProtocolGuid                       ## SOMETIMES_CONSUMES
127  gEfiPciIoProtocolGuid                         ## SOMETIMES_CONSUMES
128  gEfiGenericMemTestProtocolGuid                ## CONSUMES
129  gEfiDiskInfoProtocolGuid                      ## SOMETIMES_CONSUMES
130  gEfiSimpleTextInProtocolGuid                  ## SOMETIMES_CONSUMES
131  gEfiLegacy8259ProtocolGuid                    ## CONSUMES
132  gEfiLegacyBiosPlatformProtocolGuid            ## CONSUMES
133  gEfiLegacyInterruptProtocolGuid               ## CONSUMES
134  gEfiLegacyRegion2ProtocolGuid                 ## CONSUMES
135  gEfiLegacyBiosProtocolGuid                    ## PRODUCES
136
137[Pcd]
138  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion  ## CONSUMES
139  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize       ## CONSUMES
140  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEndOpromShadowAddress        ## SOMETIMES_CONSUMES
141  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLowPmmMemorySize             ## CONSUMES
142  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize            ## CONSUMES
143  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemoryBase      ## CONSUMES
144  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemorySize      ## CONSUMES
145
146[Depex]
147  gEfiLegacyRegion2ProtocolGuid AND gEfiLegacyInterruptProtocolGuid AND gEfiLegacyBiosPlatformProtocolGuid AND gEfiLegacy8259ProtocolGuid AND gEfiGenericMemTestProtocolGuid AND gEfiCpuArchProtocolGuid AND gEfiTimerArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
148
149[UserExtensions.TianoCore."ExtraFiles"]
150  LegacyBiosDxeExtra.uni
151