1## @file
2# Video driver based on legacy bios.
3#
4# This driver by using Legacy Bios protocol service to support csm Video
5# and produce Graphics Output Protocol.
6#
7# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
8#
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions
11# of the BSD License which accompanies this distribution.  The
12# full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
14#
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = BiosVideoDxe
23  MODULE_UNI_FILE                = BiosVideoDxe.uni
24  FILE_GUID                      = 0B04B2ED-861C-42cd-A22F-C3AAFACCB896
25  MODULE_TYPE                    = UEFI_DRIVER
26  VERSION_STRING                 = 1.0
27
28  ENTRY_POINT                    = BiosVideoEntryPoint
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35#  DRIVER_BINDING                =  gBiosVideoDriverBinding
36#  COMPONENT_NAME                =  gBiosVideoComponentName
37#
38
39[Sources]
40  BiosVideo.c
41  BiosVideo.h
42  ComponentName.c
43  VesaBiosExtensions.h
44
45[Packages]
46  MdePkg/MdePkg.dec
47  MdeModulePkg/MdeModulePkg.dec
48  IntelFrameworkPkg/IntelFrameworkPkg.dec
49  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
50
51
52[LibraryClasses]
53  MemoryAllocationLib
54  DevicePathLib
55  UefiLib
56  UefiBootServicesTableLib
57  UefiDriverEntryPoint
58  BaseMemoryLib
59  ReportStatusCodeLib
60  DebugLib
61  PcdLib
62
63
64[Guids]
65  gEfiLegacyBiosGuid                            ## PRODUCES  ##GUID # Install Legacy BIOS GUID to mark this driver as a BIOS Thunk Driver
66  gEfiEventExitBootServicesGuid                 ## CONSUMES  ##Event
67
68[Protocols]
69  gEfiVgaMiniPortProtocolGuid                   ## BY_START
70  gEfiEdidDiscoveredProtocolGuid                ## BY_START
71  gEfiGraphicsOutputProtocolGuid                ## BY_START
72  gEfiEdidActiveProtocolGuid                    ## BY_START
73  gEfiLegacyBiosProtocolGuid                    ## CONSUMES
74  gEfiPciIoProtocolGuid                         ## TO_START
75  gEfiDevicePathProtocolGuid                    ## TO_START
76  gEfiDevicePathProtocolGuid                    ## BY_START
77  gEfiEdidOverrideProtocolGuid                  ## SOMETIMES_CONSUMES
78
79[Pcd]
80  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoSetTextVgaModeEnable  ## CONSUMES
81  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable        ## CONSUMES
82  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable        ## SOMETIMES_CONSUMES
83  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution                 ## SOMETIMES_CONSUMES
84  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution                   ## SOMETIMES_CONSUMES
85
86[UserExtensions.TianoCore."ExtraFiles"]
87  BiosVideoDxeExtra.uni
88