OvmfPkg: Add section of memory to use for PEI on S3 resume
[mirror_edk2.git] / OvmfPkg / OvmfPkg.dec
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
501e08fc 4# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
49ba9447 5#\r
56d7640a 6# This program and the accompanying materials\r
49ba9447 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
67164dcd 10#\r
49ba9447 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
49ba9447 15\r
16[Defines]\r
46293a42 17 DEC_SPECIFICATION = 0x00010005\r
49ba9447 18 PACKAGE_NAME = OvmfPkg\r
19 PACKAGE_GUID = 2daf5f34-50e5-4b9d-b8e3-5562334d87e5\r
20 PACKAGE_VERSION = 0.1\r
21\r
50944545 22[Includes]\r
23 Include\r
24\r
28b29a70 25[LibraryClasses]\r
f6c6c020 26 ## @libraryclass Loads and boots a Linux kernel image\r
27 #\r
28 LoadLinuxLib|Include/Library/LoadLinuxLib.h\r
29\r
28b29a70 30 ## @libraryclass Save and restore variables using a file\r
31 #\r
32 NvVarsFileLib|Include/Library/NvVarsFileLib.h\r
33\r
f1ec65ba 34 ## @libraryclass Access QEMU's firmware configuration interface\r
35 #\r
36 QemuFwCfgLib|Include/Library/QemuFwCfgLib.h\r
37\r
28b29a70 38 ## @libraryclass Serialize (and deserialize) variables\r
39 #\r
40 SerializeVariablesLib|Include/Library/SerializeVariablesLib.h\r
41\r
7b202cb0 42[Guids]\r
49ba9447 43 gUefiOvmfPkgTokenSpaceGuid = {0x93bb96af, 0xb9f2, 0x4eb8, {0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}}\r
84c1b22e 44 gEfiXenInfoGuid = {0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d}}\r
49ba9447 45\r
b0f51446 46[Protocols]\r
fc4d1ce5 47 gVirtioDeviceProtocolGuid = {0xfa920010, 0x6785, 0x4941, {0xb6, 0xec, 0x49, 0x8c, 0x57, 0x9f, 0x16, 0x0a}}\r
b0f51446 48 gBlockMmioProtocolGuid = {0x6b558ce3, 0x69e5, 0x4c67, {0xa6, 0x34, 0xf7, 0xfe, 0x72, 0xad, 0xbe, 0x84}}\r
49\r
61069836 50[PcdsFixedAtBuild]\r
b36f701d
JJ
51 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|0x0|UINT32|0\r
52 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize|0x0|UINT32|1\r
53 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|0x0|UINT32|0x15\r
54 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize|0x0|UINT32|0x16\r
61069836 55\r
b90aefa9 56 ## This flag is used to control the destination port for PlatformDebugLibIoPort\r
57 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x402|UINT16|4\r
58\r
830067bf 59 ## This flag determines the Power Management Base Address of choice, written\r
60 # to PIIX4 function 3 offset 0x40-0x43 bits [15:6].\r
61 gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress|0xB000|UINT16|5\r
62\r
37078a63 63 ## When VirtioScsiDxe is instantiated for a HBA, the numbers of targets and\r
64 # LUNs are retrieved from the host during virtio-scsi setup.\r
65 # MdeModulePkg/Bus/Scsi/ScsiBusDxe then scans all MaxTarget * MaxLun\r
66 # possible devices. This can take extremely long, for example with\r
67 # MaxTarget=255 and MaxLun=16383. The *inclusive* constants below limit\r
68 # MaxTarget and MaxLun, independently, should the host report higher values,\r
69 # so that scanning the number of devices given by their product is still\r
70 # acceptably fast.\r
71 gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxTargetLimit|31|UINT16|6\r
72 gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxLunLimit|7|UINT32|7\r
73\r
501e08fc
JJ
74[PcdsFixedAtBuild]\r
75 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|0x0|UINT32|0x8\r
76 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize|0x0|UINT32|0x9\r
77 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x0|UINT32|0xa\r
78 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0|UINT32|0xb\r
79 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase|0x0|UINT32|0xc\r
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase|0x0|UINT32|0xd\r
81 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase|0x0|UINT32|0xe\r
82 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress|0x0|UINT32|0xf\r
b382ede3
JJ
83 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|0x0|UINT32|0x11\r
84 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize|0x0|UINT32|0x12\r
7cb6b0e0
JJ
85 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|0x0|UINT32|0x13\r
86 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize|0x0|UINT32|0x14\r
8e54500f 87 gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|0x0|UINT32|0x17\r
501e08fc 88\r
70c66df5 89[PcdsDynamic, PcdsDynamicEx]\r
85c0b5ee 90 gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2\r
9d35ac26 91 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10\r
49ba9447 92\r
e05061c5 93[PcdsFeatureFlag]\r
94 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|FALSE|BOOLEAN|3\r