lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 1 | ## @file
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 2 | # Open Virtual Machine Firmware: FDF
|
| 3 | #
|
Ruiyu Ni | 863986b | 2013-07-26 03:14:08 +0000 | [diff] [blame] | 4 | # Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 5 | #
|
hhtian | 56d7640 | 2010-04-28 12:43:04 +0000 | [diff] [blame] | 6 | # This program and the accompanying materials
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 7 | # are licensed and made available under the terms and conditions of the BSD License
|
| 8 | # which accompanies this distribution. The full text of the license may be found at
|
| 9 | # http://opensource.org/licenses/bsd-license.php
|
| 10 | #
|
| 11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 13 | #
|
lgao4 | 7b202cb | 2010-02-23 23:58:38 +0000 | [diff] [blame] | 14 | ##
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 15 |
|
| 16 | ################################################################################
|
Jordan Justen | 8184a76 | 2013-11-12 18:34:02 +0000 | [diff] [blame] | 17 |
|
| 18 | #
|
| 19 | # Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
|
| 20 | #
|
| 21 | # Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
|
| 22 | # override this.
|
| 23 | #
|
| 24 | [Defines]
|
| 25 | !if $(TARGET) == RELEASE
|
mdkinney | eaeb450 | 2012-10-04 15:41:15 +0000 | [diff] [blame] | 26 | !ifndef $(FD_SIZE_2MB)
|
Jordan Justen | 8184a76 | 2013-11-12 18:34:02 +0000 | [diff] [blame] | 27 | DEFINE FD_SIZE_1MB=
|
| 28 | !endif
|
| 29 | !endif
|
| 30 |
|
| 31 | !ifdef $(FD_SIZE_1MB)
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 32 | [FD.OVMF]
|
Jordan Justen | 9a08997 | 2013-11-12 18:34:20 +0000 | [diff] [blame] | 33 | BaseAddress = 0xFFF00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
|
| 34 | Size = 0x00100000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 35 | ErasePolarity = 1
|
Jordan Justen | 9a08997 | 2013-11-12 18:34:20 +0000 | [diff] [blame] | 36 | BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 37 | NumBlocks = 0x100
|
Jordan Justen | 9a08997 | 2013-11-12 18:34:20 +0000 | [diff] [blame] | 38 | !else
|
| 39 | [FD.OVMF]
|
| 40 | BaseAddress = 0xFFE00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
|
| 41 | Size = 0x00200000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
|
| 42 | ErasePolarity = 1
|
| 43 | BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
|
| 44 | NumBlocks = 0x200
|
| 45 | !endif
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 46 |
|
Jordan Justen | 9a08997 | 2013-11-12 18:34:20 +0000 | [diff] [blame] | 47 | 0x00000000|0x0000e000
|
| 48 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
| 49 | #NV_VARIABLE_STORE
|
| 50 | DATA = {
|
| 51 | ## This is the EFI_FIRMWARE_VOLUME_HEADER
|
| 52 | # ZeroVector []
|
| 53 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 54 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 55 | # FileSystemGuid: gEfiSystemNvDataFvGuid =
|
| 56 | # { 0xFFF12B8D, 0x7696, 0x4C8B,
|
| 57 | # { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
|
| 58 | 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
|
| 59 | 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
|
| 60 | # FvLength: 0x20000
|
| 61 | 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 62 | # Signature "_FVH" # Attributes
|
| 63 | 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
|
| 64 | # HeaderLength # CheckSum # ExtHeaderOffset #Reserved #Revision
|
| 65 | 0x48, 0x00, 0x19, 0xF9, 0x00, 0x00, 0x00, 0x02,
|
| 66 | # Blockmap[0]: 0x20 Blocks * 0x1000 Bytes / Block
|
| 67 | 0x20, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
|
| 68 | # Blockmap[1]: End
|
| 69 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 70 | ## This is the VARIABLE_STORE_HEADER
|
| 71 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 72 | # Signature: gEfiAuthenticatedVariableGuid =
|
| 73 | # { 0xaaf32c78, 0x947b, 0x439a,
|
| 74 | # { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }}
|
| 75 | 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43,
|
| 76 | 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92,
|
| 77 | !else
|
| 78 | # Signature: gEfiVariableGuid =
|
| 79 | # { 0xddcf3616, 0x3275, 0x4164,
|
| 80 | # { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
|
| 81 | 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
|
| 82 | 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
|
| 83 | !endif
|
| 84 | # Size: 0xe000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) -
|
| 85 | # 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xdfb8
|
| 86 | # This can speed up the Variable Dispatch a bit.
|
| 87 | 0xB8, 0xDF, 0x00, 0x00,
|
| 88 | # FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
|
| 89 | 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
| 90 | }
|
| 91 |
|
| 92 | 0x0000e000|0x00001000
|
| 93 | #NV_EVENT_LOG
|
| 94 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
|
| 95 |
|
| 96 | 0x0000f000|0x00001000
|
| 97 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
| 98 | #NV_FTW_WORKING
|
| 99 | DATA = {
|
| 100 | # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =
|
| 101 | # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95 }}
|
| 102 | 0x2b, 0x29, 0x58, 0x9e, 0x68, 0x7c, 0x7d, 0x49,
|
| 103 | 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95,
|
| 104 | # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
|
| 105 | 0x2c, 0xaf, 0x2c, 0x64, 0xFE, 0xFF, 0xFF, 0xFF,
|
| 106 | # WriteQueueSize: UINT64
|
| 107 | 0xE0, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
| 108 | }
|
| 109 |
|
| 110 | 0x00010000|0x00010000
|
| 111 | #NV_FTW_SPARE
|
| 112 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
| 113 |
|
| 114 | !ifdef $(FD_SIZE_1MB)
|
| 115 | 0x00020000|0x000CC000
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 116 | FV = FVMAIN_COMPACT
|
| 117 |
|
jljusten | 6738e4e | 2011-04-17 05:47:43 +0000 | [diff] [blame] | 118 | 0x000EC000|0x14000
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 119 | FV = SECFV
|
mdkinney | eaeb450 | 2012-10-04 15:41:15 +0000 | [diff] [blame] | 120 |
|
Jordan Justen | 9a08997 | 2013-11-12 18:34:20 +0000 | [diff] [blame] | 121 | !else
|
| 122 | 0x00020000|0x001AC000
|
mdkinney | eaeb450 | 2012-10-04 15:41:15 +0000 | [diff] [blame] | 123 | FV = FVMAIN_COMPACT
|
| 124 |
|
| 125 | 0x001CC000|0x34000
|
| 126 | FV = SECFV
|
| 127 | !endif
|
jljusten | 689562c | 2010-12-31 07:55:38 +0000 | [diff] [blame] | 128 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 129 | ################################################################################
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 130 |
|
| 131 | [FD.MEMFD]
|
Jordan Justen | 5300cf0 | 2014-01-21 19:38:16 +0000 | [diff] [blame^] | 132 | BaseAddress = 0x800000
|
| 133 | Size = 0x800000
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 134 | ErasePolarity = 1
|
| 135 | BlockSize = 0x10000
|
jljusten | 862379f | 2013-02-14 19:21:56 +0000 | [diff] [blame] | 136 | NumBlocks = 0x80
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 137 |
|
Jordan Justen | 5300cf0 | 2014-01-21 19:38:16 +0000 | [diff] [blame^] | 138 | 0x020000|0x7E0000
|
| 139 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 140 | FV = MAINFV
|
| 141 |
|
| 142 | ################################################################################
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 143 |
|
| 144 | [FV.SECFV]
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 145 | BlockSize = 0x1000
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 146 | FvAlignment = 16
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 147 | ERASE_POLARITY = 1
|
| 148 | MEMORY_MAPPED = TRUE
|
| 149 | STICKY_WRITE = TRUE
|
| 150 | LOCK_CAP = TRUE
|
| 151 | LOCK_STATUS = TRUE
|
| 152 | WRITE_DISABLED_CAP = TRUE
|
| 153 | WRITE_ENABLED_CAP = TRUE
|
| 154 | WRITE_STATUS = TRUE
|
| 155 | WRITE_LOCK_CAP = TRUE
|
| 156 | WRITE_LOCK_STATUS = TRUE
|
| 157 | READ_DISABLED_CAP = TRUE
|
| 158 | READ_ENABLED_CAP = TRUE
|
| 159 | READ_STATUS = TRUE
|
| 160 | READ_LOCK_CAP = TRUE
|
| 161 | READ_LOCK_STATUS = TRUE
|
| 162 |
|
| 163 | #
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 164 | # SEC Phase modules
|
| 165 | #
|
| 166 | # The code in this FV handles the initial firmware startup, and
|
| 167 | # decompresses the MAINFV which handles the majority of the boot sequence.
|
| 168 | #
|
| 169 | INF OvmfPkg/Sec/SecMain.inf
|
| 170 |
|
mdkinney | 7416f4e | 2010-07-26 18:07:19 +0000 | [diff] [blame] | 171 | INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 172 |
|
| 173 | ################################################################################
|
| 174 | [FV.MAINFV]
|
| 175 | BlockSize = 0x10000
|
| 176 | FvAlignment = 16
|
| 177 | ERASE_POLARITY = 1
|
| 178 | MEMORY_MAPPED = TRUE
|
| 179 | STICKY_WRITE = TRUE
|
| 180 | LOCK_CAP = TRUE
|
| 181 | LOCK_STATUS = TRUE
|
| 182 | WRITE_DISABLED_CAP = TRUE
|
| 183 | WRITE_ENABLED_CAP = TRUE
|
| 184 | WRITE_STATUS = TRUE
|
| 185 | WRITE_LOCK_CAP = TRUE
|
| 186 | WRITE_LOCK_STATUS = TRUE
|
| 187 | READ_DISABLED_CAP = TRUE
|
| 188 | READ_ENABLED_CAP = TRUE
|
| 189 | READ_STATUS = TRUE
|
| 190 | READ_LOCK_CAP = TRUE
|
| 191 | READ_LOCK_STATUS = TRUE
|
| 192 |
|
| 193 | #
|
| 194 | # Files to be placed in MAIN FV
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 195 | #
|
| 196 | # This firmware volume will have files placed in it uncompressed,
|
| 197 | # and then then entire firmware volume will be compressed in a
|
| 198 | # single compression operation in order to achieve better
|
| 199 | # overall compression.
|
| 200 | #
|
| 201 |
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 202 | APRIORI PEI {
|
| 203 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
| 204 | }
|
| 205 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 206 | #
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 207 | # PEI Phase modules
|
| 208 | #
|
| 209 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
| 210 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
| 211 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
| 212 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
| 213 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
| 214 |
|
lgao4 | 2ec2dee | 2010-03-01 01:59:46 +0000 | [diff] [blame] | 215 | FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
|
lgao4 | f8e1ae8 | 2011-12-11 15:18:25 +0000 | [diff] [blame] | 216 | SECTION COMPRESS PI_NONE {
|
| 217 | SECTION FV_IMAGE = DXEFV
|
| 218 | }
|
jljusten | c29f6c0 | 2010-02-25 21:53:06 +0000 | [diff] [blame] | 219 | }
|
| 220 |
|
| 221 | ################################################################################
|
| 222 |
|
| 223 | [FV.DXEFV]
|
| 224 | BlockSize = 0x10000
|
| 225 | FvAlignment = 16
|
| 226 | ERASE_POLARITY = 1
|
| 227 | MEMORY_MAPPED = TRUE
|
| 228 | STICKY_WRITE = TRUE
|
| 229 | LOCK_CAP = TRUE
|
| 230 | LOCK_STATUS = TRUE
|
| 231 | WRITE_DISABLED_CAP = TRUE
|
| 232 | WRITE_ENABLED_CAP = TRUE
|
| 233 | WRITE_STATUS = TRUE
|
| 234 | WRITE_LOCK_CAP = TRUE
|
| 235 | WRITE_LOCK_STATUS = TRUE
|
| 236 | READ_DISABLED_CAP = TRUE
|
| 237 | READ_ENABLED_CAP = TRUE
|
| 238 | READ_STATUS = TRUE
|
| 239 | READ_LOCK_CAP = TRUE
|
| 240 | READ_LOCK_STATUS = TRUE
|
| 241 |
|
| 242 | APRIORI DXE {
|
Ruiyu Ni | 863986b | 2013-07-26 03:14:08 +0000 | [diff] [blame] | 243 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
jljusten | c29f6c0 | 2010-02-25 21:53:06 +0000 | [diff] [blame] | 244 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
Jordan Justen | 182eb45 | 2013-11-12 18:35:01 +0000 | [diff] [blame] | 245 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
jljusten | c29f6c0 | 2010-02-25 21:53:06 +0000 | [diff] [blame] | 246 | }
|
| 247 |
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 248 | #
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 249 | # DXE Phase modules
|
| 250 | #
|
| 251 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
| 252 |
|
| 253 | INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
| 254 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
| 255 |
|
| 256 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
| 257 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
jljusten | c1c2669 | 2010-01-04 16:17:59 +0000 | [diff] [blame] | 258 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 259 | INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
eric_tian | afbb91a | 2009-12-09 02:18:21 +0000 | [diff] [blame] | 260 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 261 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
| 262 | INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
| 263 | INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
davidhuang | 4ad90a8 | 2009-10-20 03:44:25 +0000 | [diff] [blame] | 264 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 265 | INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
| 266 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
jljusten | 712bd83 | 2009-07-14 23:32:41 +0000 | [diff] [blame] | 267 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
klu2 | 87a1d7a | 2009-07-07 04:54:01 +0000 | [diff] [blame] | 268 |
|
jljusten | efd82c5 | 2010-03-21 00:34:15 +0000 | [diff] [blame] | 269 | INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
Olivier Martin | 56f65ed | 2013-12-11 16:58:22 +0000 | [diff] [blame] | 270 | INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
jljusten | fd51d75 | 2012-10-08 07:32:59 +0000 | [diff] [blame] | 271 | INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
jljusten | 37078a6 | 2012-10-18 17:07:48 +0000 | [diff] [blame] | 272 | INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
Jordan Justen | 182eb45 | 2013-11-12 18:35:01 +0000 | [diff] [blame] | 273 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
jljusten | 27f58ea | 2009-09-26 07:15:51 +0000 | [diff] [blame] | 274 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
| 275 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
jljusten | 8cee3de | 2012-03-09 17:38:53 +0000 | [diff] [blame] | 276 |
|
| 277 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 278 | INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
|
jljusten | 8c71ec8 | 2012-08-15 00:03:59 +0000 | [diff] [blame] | 279 | INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
jljusten | 8cee3de | 2012-03-09 17:38:53 +0000 | [diff] [blame] | 280 | !else
|
| 281 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
| 282 | !endif
|
| 283 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 284 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
| 285 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
| 286 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
| 287 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
| 288 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
| 289 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
| 290 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
| 291 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
| 292 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
jljusten | 86fef5b | 2009-06-30 15:57:29 +0000 | [diff] [blame] | 293 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 294 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 295 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
| 296 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
| 297 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
| 298 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
| 299 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
| 300 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
| 301 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
| 302 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
Eric Dong | 56af21c | 2013-08-12 02:24:32 +0000 | [diff] [blame] | 303 | INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
jljusten | 999a815 | 2011-01-21 16:50:47 +0000 | [diff] [blame] | 304 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 305 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 306 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
| 307 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
vanjeff | 8f5e3a1 | 2011-10-26 07:08:32 +0000 | [diff] [blame] | 308 |
|
| 309 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 310 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
vanjeff | 8f5e3a1 | 2011-10-26 07:08:32 +0000 | [diff] [blame] | 311 | !endif
|
| 312 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 313 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
| 314 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
| 315 |
|
jljusten | fb51181 | 2011-08-13 22:54:37 +0000 | [diff] [blame] | 316 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
| 317 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
| 318 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 319 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
jljusten | 7d2bd15 | 2012-05-30 23:15:00 +0000 | [diff] [blame] | 320 | INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
jljusten | d40d3ba | 2009-10-07 16:01:09 +0000 | [diff] [blame] | 321 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 322 |
|
mdkinney | 7a743a2 | 2010-06-29 04:55:13 +0000 | [diff] [blame] | 323 | INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf
|
jljusten | 345a0c8 | 2011-06-26 18:58:41 +0000 | [diff] [blame] | 324 |
|
Jordan Justen | 9bef3cd | 2013-08-23 18:45:47 +0000 | [diff] [blame] | 325 | !ifndef $(USE_OLD_SHELL)
|
jljusten | 345a0c8 | 2011-06-26 18:58:41 +0000 | [diff] [blame] | 326 | INF ShellPkg/Application/Shell/Shell.inf
|
| 327 | !else
|
mdkinney | 7a743a2 | 2010-06-29 04:55:13 +0000 | [diff] [blame] | 328 | INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
|
jljusten | 345a0c8 | 2011-06-26 18:58:41 +0000 | [diff] [blame] | 329 | !endif
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 330 |
|
lgao4 | d46f363 | 2009-07-09 05:48:35 +0000 | [diff] [blame] | 331 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 332 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
| 333 | }
|
mdkinney | 7416f4e | 2010-07-26 18:07:19 +0000 | [diff] [blame] | 334 |
|
| 335 | #
|
| 336 | # Network modules
|
| 337 | #
|
jljusten | 7628b0f | 2013-05-15 18:20:39 +0000 | [diff] [blame] | 338 | !if $(E1000_ENABLE)
|
mdkinney | 7416f4e | 2010-07-26 18:07:19 +0000 | [diff] [blame] | 339 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
| 340 | SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
|
| 341 | }
|
jljusten | 7628b0f | 2013-05-15 18:20:39 +0000 | [diff] [blame] | 342 | !endif
|
mdkinney | 7416f4e | 2010-07-26 18:07:19 +0000 | [diff] [blame] | 343 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
| 344 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
| 345 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
| 346 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
| 347 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
| 348 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
| 349 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
| 350 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
| 351 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
| 352 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
| 353 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
| 354 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
| 355 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
Laszlo Ersek | 7a1f594 | 2013-06-14 07:41:13 +0000 | [diff] [blame] | 356 | INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
jljusten | 689562c | 2010-12-31 07:55:38 +0000 | [diff] [blame] | 357 |
|
| 358 | #
|
| 359 | # Usb Support
|
| 360 | #
|
| 361 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
| 362 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
| 363 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
| 364 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
| 365 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
| 366 |
|
jljusten | 4b3d663 | 2011-11-10 22:04:49 +0000 | [diff] [blame] | 367 | !ifdef $(CSM_ENABLE)
|
| 368 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
| 369 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
| 370 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
| 371 | !endif
|
| 372 |
|
jljusten | aadb1d0 | 2012-07-10 22:43:19 +0000 | [diff] [blame] | 373 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
| 374 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 375 | ################################################################################
|
| 376 |
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 377 | [FV.FVMAIN_COMPACT]
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 378 | FvAlignment = 16
|
| 379 | ERASE_POLARITY = 1
|
| 380 | MEMORY_MAPPED = TRUE
|
| 381 | STICKY_WRITE = TRUE
|
| 382 | LOCK_CAP = TRUE
|
| 383 | LOCK_STATUS = TRUE
|
| 384 | WRITE_DISABLED_CAP = TRUE
|
| 385 | WRITE_ENABLED_CAP = TRUE
|
| 386 | WRITE_STATUS = TRUE
|
| 387 | WRITE_LOCK_CAP = TRUE
|
| 388 | WRITE_LOCK_STATUS = TRUE
|
| 389 | READ_DISABLED_CAP = TRUE
|
| 390 | READ_ENABLED_CAP = TRUE
|
| 391 | READ_STATUS = TRUE
|
| 392 | READ_LOCK_CAP = TRUE
|
| 393 | READ_LOCK_STATUS = TRUE
|
| 394 |
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 395 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
jljusten | eaf4f33 | 2011-04-12 15:08:51 +0000 | [diff] [blame] | 396 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
| 397 | SECTION FV_IMAGE = MAINFV
|
| 398 | }
|
| 399 | }
|
| 400 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 401 | ################################################################################
|
| 402 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 403 | [Rule.Common.SEC]
|
| 404 | FILE SEC = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 405 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 406 | UI STRING ="$(MODULE_NAME)" Optional
|
| 407 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 408 | }
|
| 409 |
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 410 | [Rule.Common.PEI_CORE]
|
| 411 | FILE PEI_CORE = $(NAMED_GUID) {
|
| 412 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
| 413 | UI STRING ="$(MODULE_NAME)" Optional
|
| 414 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
jljusten | d40d3ba | 2009-10-07 16:01:09 +0000 | [diff] [blame] | 415 | }
|
| 416 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 417 | [Rule.Common.PEIM]
|
| 418 | FILE PEIM = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 419 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 420 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 421 | UI STRING="$(MODULE_NAME)" Optional
|
| 422 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 423 | }
|
| 424 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 425 | [Rule.Common.DXE_CORE]
|
| 426 | FILE DXE_CORE = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 427 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 428 | UI STRING="$(MODULE_NAME)" Optional
|
| 429 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 430 | }
|
| 431 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 432 | [Rule.Common.DXE_DRIVER]
|
| 433 | FILE DRIVER = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 434 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 435 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 436 | UI STRING="$(MODULE_NAME)" Optional
|
| 437 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 438 | }
|
| 439 |
|
| 440 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
| 441 | FILE DRIVER = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 442 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 443 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 444 | UI STRING="$(MODULE_NAME)" Optional
|
| 445 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 446 | }
|
| 447 |
|
mdkinney | 76d428b | 2010-06-25 22:23:22 +0000 | [diff] [blame] | 448 | [Rule.Common.UEFI_DRIVER]
|
| 449 | FILE DRIVER = $(NAMED_GUID) {
|
| 450 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 451 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
| 452 | UI STRING="$(MODULE_NAME)" Optional
|
| 453 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 454 | }
|
| 455 |
|
mdkinney | 7a743a2 | 2010-06-29 04:55:13 +0000 | [diff] [blame] | 456 | [Rule.Common.UEFI_DRIVER.BINARY]
|
mdkinney | 3b33c6d | 2010-06-29 18:34:32 +0000 | [diff] [blame] | 457 | FILE DRIVER = $(NAMED_GUID) {
|
mdkinney | 7a743a2 | 2010-06-29 04:55:13 +0000 | [diff] [blame] | 458 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
| 459 | PE32 PE32 |.efi
|
| 460 | UI STRING="$(MODULE_NAME)" Optional
|
| 461 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 462 | }
|
jljusten | 8c71ec8 | 2012-08-15 00:03:59 +0000 | [diff] [blame] | 463 |
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 464 | [Rule.Common.UEFI_APPLICATION]
|
| 465 | FILE APPLICATION = $(NAMED_GUID) {
|
lgao4 | 2014a81 | 2010-03-01 06:47:58 +0000 | [diff] [blame] | 466 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 467 | UI STRING="$(MODULE_NAME)" Optional
|
| 468 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 469 | }
|
| 470 |
|
mdkinney | 7a743a2 | 2010-06-29 04:55:13 +0000 | [diff] [blame] | 471 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
| 472 | FILE APPLICATION = $(NAMED_GUID) {
|
| 473 | PE32 PE32 |.efi
|
| 474 | UI STRING="$(MODULE_NAME)" Optional
|
| 475 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 476 | }
|
jljusten | 8c71ec8 | 2012-08-15 00:03:59 +0000 | [diff] [blame] | 477 |
|
vanjeff | 4888999 | 2009-08-11 05:30:52 +0000 | [diff] [blame] | 478 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 479 | FILE FREEFORM = $(NAMED_GUID) {
|
jljusten | d40d3ba | 2009-10-07 16:01:09 +0000 | [diff] [blame] | 480 | RAW ACPI |.acpi
|
| 481 | RAW ASL |.aml
|
jljusten | 49ba944 | 2009-05-27 21:10:18 +0000 | [diff] [blame] | 482 | }
|
| 483 |
|
jljusten | 4b3d663 | 2011-11-10 22:04:49 +0000 | [diff] [blame] | 484 | [Rule.Common.USER_DEFINED.CSM]
|
| 485 | FILE FREEFORM = $(NAMED_GUID) {
|
| 486 | RAW BIN |.bin
|
| 487 | }
|
| 488 |
|
mdkinney | 7416f4e | 2010-07-26 18:07:19 +0000 | [diff] [blame] | 489 | [Rule.Common.SEC.RESET_VECTOR]
|
| 490 | FILE RAW = $(NAMED_GUID) {
|
| 491 | RAW RAW |.raw
|
| 492 | }
|