2014-03-22 08:12:55 +01:00
|
|
|
## @file
|
|
|
|
# This driver effectuates OVMF's platform configuration settings and exposes
|
|
|
|
# them via HII.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2014, Red Hat, Inc.
|
|
|
|
# Copyright (c) 2009 - 2010, 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.
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PlatformDxe
|
|
|
|
FILE_GUID = D9DCC5DF-4007-435E-9098-8970935504B2
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = PlatformInit
|
|
|
|
UNLOAD_IMAGE = PlatformUnload
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
Platform.c
|
2018-03-10 22:06:34 +01:00
|
|
|
Platform.h
|
2014-03-22 08:13:18 +01:00
|
|
|
Platform.uni
|
2014-03-22 08:13:02 +01:00
|
|
|
PlatformConfig.c
|
2014-03-22 08:13:18 +01:00
|
|
|
PlatformForms.vfr
|
2014-03-22 08:12:55 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
2014-03-22 08:13:31 +01:00
|
|
|
BaseLib
|
2014-03-22 08:13:02 +01:00
|
|
|
BaseMemoryLib
|
2014-03-22 08:12:55 +01:00
|
|
|
DebugLib
|
2014-03-22 08:13:18 +01:00
|
|
|
DevicePathLib
|
|
|
|
HiiLib
|
2014-03-22 08:13:02 +01:00
|
|
|
MemoryAllocationLib
|
2014-03-22 08:13:50 +01:00
|
|
|
PrintLib
|
2014-03-22 08:12:55 +01:00
|
|
|
UefiBootServicesTableLib
|
2014-03-22 08:13:31 +01:00
|
|
|
UefiHiiServicesLib
|
2014-03-22 08:13:02 +01:00
|
|
|
UefiLib
|
|
|
|
UefiRuntimeServicesTableLib
|
2014-03-22 08:12:55 +01:00
|
|
|
UefiDriverEntryPoint
|
|
|
|
|
2014-03-22 08:13:09 +01:00
|
|
|
[Pcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution
|
|
|
|
|
2014-03-22 08:13:18 +01:00
|
|
|
[Protocols]
|
|
|
|
gEfiDevicePathProtocolGuid ## PRODUCES
|
2014-03-22 08:13:50 +01:00
|
|
|
gEfiGraphicsOutputProtocolGuid ## CONSUMES
|
2014-03-22 08:13:18 +01:00
|
|
|
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
|
|
|
|
|
2014-03-22 08:13:02 +01:00
|
|
|
[Guids]
|
2014-03-22 08:13:31 +01:00
|
|
|
gEfiIfrTianoGuid
|
2014-03-22 08:13:02 +01:00
|
|
|
gOvmfPlatformConfigGuid
|
|
|
|
|
2014-03-22 08:12:55 +01:00
|
|
|
[Depex]
|
2014-03-22 08:13:31 +01:00
|
|
|
gEfiHiiConfigRoutingProtocolGuid AND
|
2014-03-22 08:13:18 +01:00
|
|
|
gEfiHiiDatabaseProtocolGuid AND
|
2014-03-22 08:13:02 +01:00
|
|
|
gEfiVariableArchProtocolGuid AND
|
|
|
|
gEfiVariableWriteArchProtocolGuid
|