]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
OvmfPkg/Csm/VideoDxe: Update to make it build for OVMF
[mirror_edk2.git] / OvmfPkg / Csm / BiosThunk / VideoDxe / VideoDxe.inf
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 - 2019, Intel Corporation. All rights reserved.<BR>
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 [Defines]
14 INF_VERSION = 0x00010005
15 BASE_NAME = BiosVideoDxe
16 MODULE_UNI_FILE = BiosVideoDxe.uni
17 FILE_GUID = 8669E6C9-842B-4B49-BCC3-32C96D244750
18 MODULE_TYPE = UEFI_DRIVER
19 VERSION_STRING = 1.0
20
21 ENTRY_POINT = BiosVideoEntryPoint
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64 EBC
27 #
28 # DRIVER_BINDING = gBiosVideoDriverBinding
29 # COMPONENT_NAME = gBiosVideoComponentName
30 #
31
32 [Sources]
33 BiosVideo.c
34 BiosVideo.h
35 ComponentName.c
36 VesaBiosExtensions.h
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41 OvmfPkg/OvmfPkg.dec
42
43 [LibraryClasses]
44 MemoryAllocationLib
45 DevicePathLib
46 UefiLib
47 UefiBootServicesTableLib
48 UefiDriverEntryPoint
49 BaseMemoryLib
50 ReportStatusCodeLib
51 DebugLib
52 PcdLib
53
54
55 [Guids]
56 gEfiLegacyBiosGuid ## PRODUCES ##GUID # Install Legacy BIOS GUID to mark this driver as a BIOS Thunk Driver
57 gEfiEventExitBootServicesGuid ## CONSUMES ##Event
58
59 [Protocols]
60 gEfiVgaMiniPortProtocolGuid ## BY_START
61 gEfiEdidDiscoveredProtocolGuid ## BY_START
62 gEfiGraphicsOutputProtocolGuid ## BY_START
63 gEfiEdidActiveProtocolGuid ## BY_START
64 gEfiLegacyBiosProtocolGuid ## CONSUMES
65 gEfiPciIoProtocolGuid ## TO_START
66 gEfiDevicePathProtocolGuid ## TO_START
67 gEfiDevicePathProtocolGuid ## BY_START
68 gEfiEdidOverrideProtocolGuid ## SOMETIMES_CONSUMES
69
70 [Pcd]
71 gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoSetTextVgaModeEnable ## CONSUMES
72 gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable ## CONSUMES
73 gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable ## SOMETIMES_CONSUMES
74 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution ## SOMETIMES_CONSUMES
75 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution ## SOMETIMES_CONSUMES
76
77 [UserExtensions.TianoCore."ExtraFiles"]
78 BiosVideoDxeExtra.uni