VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf@ 58836

Last change on this file since 58836 was 58836, checked in by vboxsync, 9 years ago

EFI/Firmware: Move some VBox specific modifications for changing the video resolution to VBoxVgaDxe. Avoids flickering as the previous code was changing the resolution back and forth multiple times

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette