mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-18 15:27:48 +01:00
081d1b5210
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
96 lines
3.0 KiB
INI
96 lines
3.0 KiB
INI
## @file
|
|
# Video driver based on legacy bios.
|
|
#
|
|
# This driver by using Legacy Bios protocol service to support csm Video
|
|
# and produce Graphics Output Protocol.
|
|
#
|
|
# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions
|
|
# of the BSD License which accompanies this distribution. The
|
|
# full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
#
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
##
|
|
# this driver is for intel graphics only
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = CsmVideo2Dxe
|
|
FILE_GUID = 0B04B2EE-861C-42cd-A22F-C3AAFACCB897
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = CsmVideoEntryPoint
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
#
|
|
# DRIVER_BINDING = gBiosVideoDriverBinding
|
|
# COMPONENT_NAME = gBiosVideoComponentName
|
|
#
|
|
|
|
[Sources]
|
|
BiosVideo2.c
|
|
BiosVideo.h
|
|
ComponentName.c
|
|
# VesaBiosExtensions.h
|
|
|
|
[Packages]
|
|
CloverPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
|
|
|
|
|
[LibraryClasses]
|
|
MemoryAllocationLib
|
|
DevicePathLib
|
|
UefiLib
|
|
UefiBootServicesTableLib
|
|
UefiRuntimeServicesTableLib
|
|
UefiDriverEntryPoint
|
|
BaseMemoryLib
|
|
ReportStatusCodeLib
|
|
DebugLib
|
|
PrintLib
|
|
PcdLib
|
|
MemLogLib
|
|
# GenericBdsLib
|
|
|
|
|
|
|
|
[Guids]
|
|
gEfiLegacyBiosGuid # ALWAYS_PRODUCED
|
|
gEfiEventExitBootServicesGuid
|
|
gEfiGlobalVariableGuid
|
|
|
|
[Protocols]
|
|
gEfiVgaMiniPortProtocolGuid # PROTOCOL BY_START
|
|
gEfiEdidDiscoveredProtocolGuid # PROTOCOL BY_START
|
|
gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START
|
|
gEfiEdidActiveProtocolGuid # PROTOCOL BY_START
|
|
gEfiLegacyBiosProtocolGuid # PROTOCOL TO_START
|
|
gEfiPciIoProtocolGuid # PROTOCOL TO_START
|
|
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
|
|
gEfiEdidOverrideProtocolGuid # PROTOCOL TO_START
|
|
# gMsgLogProtocolGuid
|
|
|
|
[Pcd]
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoSetTextVgaModeEnable
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution
|
|
|
|
[BuildOptions]
|
|
# XCODE:*_*_*_CC_FLAGS = -Os
|
|
# GCC:*_*_*_CC_FLAGS = -Os
|