16cd9ab753a8a87efebd0ee2e1f7f7cb9e713630
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.inf
1 ## @file
2 # This driver effectuates OVMF's platform configuration settings and exposes
3 # them via HII.
4 #
5 # Copyright (C) 2014, Red Hat, Inc.
6 # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
7 #
8 # This program and the accompanying materials are licensed and made available
9 # under the terms and conditions of the BSD License which accompanies this
10 # distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 #
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
15 # IMPLIED.
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = PlatformDxe
21 FILE_GUID = D9DCC5DF-4007-435E-9098-8970935504B2
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 ENTRY_POINT = PlatformInit
25 UNLOAD_IMAGE = PlatformUnload
26
27 [Sources]
28 Platform.c
29 Platform.uni
30 PlatformConfig.c
31 PlatformForms.vfr
32
33 [Packages]
34 MdePkg/MdePkg.dec
35 MdeModulePkg/MdeModulePkg.dec
36 OvmfPkg/OvmfPkg.dec
37
38 [LibraryClasses]
39 BaseLib
40 BaseMemoryLib
41 DebugLib
42 DevicePathLib
43 HiiLib
44 MemoryAllocationLib
45 PrintLib
46 UefiBootServicesTableLib
47 UefiHiiServicesLib
48 UefiLib
49 UefiRuntimeServicesTableLib
50 UefiDriverEntryPoint
51
52 [Pcd]
53 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution
54 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution
55
56 [Protocols]
57 gEfiDevicePathProtocolGuid ## PRODUCES
58 gEfiGraphicsOutputProtocolGuid ## CONSUMES
59 gEfiHiiConfigAccessProtocolGuid ## PRODUCES
60
61 [Guids]
62 gEfiIfrTianoGuid
63 gOvmfPlatformConfigGuid
64
65 [Depex]
66 gEfiHiiConfigRoutingProtocolGuid AND
67 gEfiHiiDatabaseProtocolGuid AND
68 gEfiVariableArchProtocolGuid AND
69 gEfiVariableWriteArchProtocolGuid