1 | # $Id: VBoxVgaDxe.inf 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VBoxVgaDxe.inf
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2010-2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # The contents of this file may alternatively be used under the terms
|
---|
26 | # of the Common Development and Distribution License Version 1.0
|
---|
27 | # (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | # in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | # CDDL are applicable instead of those of the GPL.
|
---|
30 | #
|
---|
31 | # You may elect to license modified versions of this file under the
|
---|
32 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | #
|
---|
34 | # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | #
|
---|
36 |
|
---|
37 | #
|
---|
38 | # This code is based on:
|
---|
39 | #
|
---|
40 | #/** @file
|
---|
41 | # Component description file for CirrusLogic5430 module
|
---|
42 | #
|
---|
43 | # Cirrus Logic 5430 Controller Driver.This driver is a sample implementation
|
---|
44 | # of the UGA Draw Protocol for the Cirrus Logic 5430 family of PCI video controllers.
|
---|
45 | # This driver is only usable in the EFI pre-boot environment. This sample is
|
---|
46 | # intended to show how the UGA Draw Protocol is able to function. The UGA I/O
|
---|
47 | # Protocol is not implemented in this sample. A fully compliant EFI UGA driver
|
---|
48 | # requires both the UGA Draw and the UGA I/O Protocol. Please refer to Microsoft's
|
---|
49 | # documentation on UGA for details on how to write a UGA driver that is able
|
---|
50 | # to function both in the EFI pre-boot environment and from the OS runtime.
|
---|
51 | # Copyright (c) 2006 - 2009, Intel Corporation
|
---|
52 | #
|
---|
53 | # All rights reserved. This program and the accompanying materials
|
---|
54 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
55 | # which accompanies this distribution. The full text of the license may be found at
|
---|
56 | # http://opensource.org/licenses/bsd-license.php
|
---|
57 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
58 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
59 | #
|
---|
60 | #
|
---|
61 | #**/
|
---|
62 |
|
---|
63 | [Defines]
|
---|
64 | INF_VERSION = 0x00010005
|
---|
65 | BASE_NAME = VBoxVgaDxe
|
---|
66 | FILE_GUID = b8a784bc-af4d-4d95-bdb1-ba28236a54f4
|
---|
67 | MODULE_TYPE = UEFI_DRIVER
|
---|
68 | VERSION_STRING = 1.0
|
---|
69 | EDK_RELEASE_VERSION = 0x00020000
|
---|
70 | EFI_SPECIFICATION_VERSION = 0x00020000
|
---|
71 |
|
---|
72 | ENTRY_POINT = InitializeVBoxVga
|
---|
73 |
|
---|
74 | PCI_VENDOR_ID = 0x80EE
|
---|
75 | PCI_DEVICE_ID = 0xBEEF
|
---|
76 | PCI_CLASS_CODE = 0x030000
|
---|
77 | PCI_REVISION = 0x00
|
---|
78 | COMPRESS = TRUE
|
---|
79 |
|
---|
80 | #
|
---|
81 | # The following information is for reference only and not required by the build tools.
|
---|
82 | #
|
---|
83 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
---|
84 | #
|
---|
85 | # DRIVER_BINDING = VBoxVgaDriverBinding
|
---|
86 | # COMPONENT_NAME = VBoxVgaComponentName
|
---|
87 | #
|
---|
88 |
|
---|
89 | [Sources.common]
|
---|
90 | ComponentName.c
|
---|
91 | DriverSupportedEfiVersion.c
|
---|
92 | VBoxVgaUgaDraw.c
|
---|
93 | VBoxVgaGraphicsOutput.c
|
---|
94 | VBoxVga.c
|
---|
95 | VBoxVga.h
|
---|
96 | Edid.c
|
---|
97 | VBoxVgaI2c.h
|
---|
98 | VBoxVgaI2c.c
|
---|
99 |
|
---|
100 | [Packages]
|
---|
101 | MdePkg/MdePkg.dec
|
---|
102 | MdeModulePkg/MdeModulePkg.dec
|
---|
103 | VBoxPkg/VBoxPkg.dec
|
---|
104 |
|
---|
105 | [LibraryClasses]
|
---|
106 | UefiBootServicesTableLib
|
---|
107 | MemoryAllocationLib
|
---|
108 | UefiLib
|
---|
109 | UefiDriverEntryPoint
|
---|
110 | DebugLib
|
---|
111 | BaseMemoryLib
|
---|
112 | DevicePathLib
|
---|
113 | TimerLib
|
---|
114 |
|
---|
115 | [Protocols]
|
---|
116 | gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
---|
117 | gEfiUgaDrawProtocolGuid # PROTOCOL BY_START
|
---|
118 | gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START
|
---|
119 | gEfiEdidDiscoveredProtocolGuid # PROTOCOL BY_START
|
---|
120 | gEfiEdidActiveProtocolGuid # PROTOCOL BY_START
|
---|
121 | gEfiDevicePathProtocolGuid # PROTOCOL BY_START
|
---|
122 | gEfiPciIoProtocolGuid # PROTOCOL TO_START
|
---|
123 | gEfiEdidOverrideProtocolGuid # PROTOCOL TO_START
|
---|
124 |
|
---|
125 |
|
---|
126 | [FeaturePcd.common]
|
---|
127 | gVBoxVgaPkgTokenSpaceGuid.PcdSupportGop
|
---|
128 | gVBoxVgaPkgTokenSpaceGuid.PcdSupportUga
|
---|
129 |
|
---|
130 | [Pcd]
|
---|
131 | gVBoxVgaPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion
|
---|
132 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution ## PRODUCES
|
---|
133 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution ## PRODUCES
|
---|