qwang12 | 5fd5fcd | 2008-01-21 14:42:45 +0000 | [diff] [blame] | 1 | # This is NT32 FDF file with UEFI HII features enabled
|
klu2 | a9ce575 | 2007-07-27 05:33:01 +0000 | [diff] [blame] | 2 | #
|
| 3 | # Copyright (c) 2007, Intel Corporation
|
| 4 | #
|
| 5 | # All rights reserved. This program and the accompanying materials
|
| 6 | # are licensed and made available under the terms and conditions of the BSD License
|
| 7 | # which accompanies this distribution. The full text of the license may be found at
|
| 8 | # http://opensource.org/licenses/bsd-license.php
|
| 9 | #
|
| 10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 12 | #
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 13 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 14 | ################################################################################
|
| 15 | #
|
| 16 | # FD Section
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 17 | # The [FD] Section is made up of the definition statements and a
|
| 18 | # description of what goes into the Flash Device Image. Each FD section
|
lgao4 | d88bd7a | 2007-07-26 06:35:29 +0000 | [diff] [blame] | 19 | # defines one flash "device" image. A flash device image may be one of
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 20 | # the following: Removable media bootable image (like a boot floppy
|
lgao4 | d88bd7a | 2007-07-26 06:35:29 +0000 | [diff] [blame] | 21 | # image,) an Option ROM image (that would be "flashed" into an add-in
|
qhuang8 | 8df425c | 2007-08-17 06:57:21 +0000 | [diff] [blame] | 22 | # card,) a System "Flash" image (that would be burned into a system's
|
lgao4 | d88bd7a | 2007-07-26 06:35:29 +0000 | [diff] [blame] | 23 | # flash) or an Update ("Capsule") image that will be used to update and
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 24 | # existing system flash.
|
| 25 | #
|
| 26 | ################################################################################
|
lgao4 | ae8432d | 2008-09-09 02:53:35 +0000 | [diff] [blame] | 27 | [FD.Nt32]
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 28 | BaseAddress = 0x0|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddress #The base address of the FLASH Device.
|
| 29 | Size = 0x002a0000 #The size in bytes of the FLASH Device
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 30 | ErasePolarity = 1
|
| 31 | BlockSize = 0x10000
|
| 32 | NumBlocks = 0x2a
|
| 33 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 34 | ################################################################################
|
| 35 | #
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 36 | # Following are lists of FD Region layout which correspond to the locations of different
|
| 37 | # images within the flash device.
|
| 38 | #
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 39 | # Regions must be defined in ascending order and may not overlap.
|
| 40 | #
|
lgao4 | d88bd7a | 2007-07-26 06:35:29 +0000 | [diff] [blame] | 41 | # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
|
| 42 | # the pipe "|" character, followed by the size of the region, also in hex with the leading
|
| 43 | # "0x" characters. Like:
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 44 | # Offset|Size
|
| 45 | # PcdOffsetCName|PcdSizeCName
|
| 46 | # RegionType <FV, DATA, or FILE>
|
| 47 | #
|
| 48 | ################################################################################
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 49 | 0x00000000|0x00280000
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 50 | gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 51 | FV = FvRecovery
|
| 52 |
|
| 53 | 0x00280000|0x0000c000
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 54 | gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 55 | #NV_VARIABLE_STORE
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 56 | DATA = {
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 57 | ## This is the EFI_FIRMWARE_VOLUME_HEADER
|
| 58 | # ZeroVector []
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 59 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 60 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 61 | # FileSystemGuid: gEfiSystemNvDataFvGuid =
|
| 62 | # { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
|
| 63 | 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
|
| 64 | 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
|
| 65 | # FvLength: 0x20000
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 66 | 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 67 | #Signature "_FVH" #Attributes
|
| 68 | 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
|
| 69 | #HeaderLength #CheckSum #ExtHeaderOffset #Reserved #Revision
|
| 70 | 0x48, 0x00, 0x36, 0x09, 0x00, 0x00, 0x00, 0x02,
|
| 71 | #Blockmap[0]: 2 Blocks * 0x10000 Bytes / Block
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 72 | 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 73 | #Blockmap[1]: End
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 74 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 75 | ## This is the VARIABLE_STORE_HEADER
|
| 76 | #Signature: "$VSS" #Size: 0xc000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (HeaderLength) = 0xBFB8
|
| 77 | # This can speed up the Variable Dispatch a bit.
|
| 78 | 0x24, 0x56, 0x53, 0x53, 0xB8, 0xBF, 0x00, 0x00,
|
| 79 | #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
|
| 80 | 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 81 | }
|
| 82 |
|
| 83 | 0x0028c000|0x00002000
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 84 | #NV_EVENT_LOG
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 85 | gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 86 |
|
| 87 | 0x0028e000|0x00002000
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 88 | gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 89 | #NV_FTW_WORKING
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 90 | DATA = {
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 91 | # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEfiSystemNvDataFvGuid =
|
| 92 | # { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
|
| 93 | 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
|
| 94 | 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
|
| 95 | # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
|
lgao4 | 2a958a0 | 2008-07-17 07:05:21 +0000 | [diff] [blame] | 96 | 0x77, 0x13, 0x9B, 0xD7, 0xFE, 0xFF, 0xFF, 0xFF,
|
| 97 | # WriteQueueSize: UINT64
|
| 98 | 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 99 | }
|
| 100 |
|
| 101 | 0x00290000|0x00010000
|
lgao4 | 498f4b3 | 2008-02-28 12:28:20 +0000 | [diff] [blame] | 102 | #NV_FTW_SPARE
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 103 | gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 104 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 105 | ################################################################################
|
| 106 | #
|
| 107 | # FV Section
|
| 108 | #
|
| 109 | # [FV] section is used to define what components or modules are placed within a flash
|
| 110 | # device file. This section also defines order the components and modules are positioned
|
| 111 | # within the image. The [FV] section consists of define statements, set statements and
|
| 112 | # module statements.
|
| 113 | #
|
| 114 | ################################################################################
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 115 | [FV.FvRecovery]
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 116 | FvAlignment = 16 #FV alignment and FV attributes setting.
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 117 | ERASE_POLARITY = 1
|
| 118 | MEMORY_MAPPED = TRUE
|
| 119 | STICKY_WRITE = TRUE
|
| 120 | LOCK_CAP = TRUE
|
| 121 | LOCK_STATUS = TRUE
|
| 122 | WRITE_DISABLED_CAP = TRUE
|
| 123 | WRITE_ENABLED_CAP = TRUE
|
| 124 | WRITE_STATUS = TRUE
|
| 125 | WRITE_LOCK_CAP = TRUE
|
| 126 | WRITE_LOCK_STATUS = TRUE
|
| 127 | READ_DISABLED_CAP = TRUE
|
| 128 | READ_ENABLED_CAP = TRUE
|
| 129 | READ_STATUS = TRUE
|
| 130 | READ_LOCK_CAP = TRUE
|
| 131 | READ_LOCK_STATUS = TRUE
|
| 132 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 133 | ################################################################################
|
| 134 | #
|
| 135 | # The INF statements point to EDK component and EDK II module INF files, which will be placed into this FV image.
|
| 136 | # Parsing tools will scan the INF file to determine the type of component or module.
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 137 | # The component or module type is used to reference the standard rules
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 138 | # defined elsewhere in the FDF file.
|
| 139 | #
|
| 140 | # The format for INF statements is:
|
| 141 | # INF $(PathAndInfFileName)
|
| 142 | #
|
| 143 | ################################################################################
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 144 | ##
|
| 145 | # PEI Phase modules
|
| 146 | ##
|
qwang12 | 9c7aa18 | 2007-10-15 11:17:01 +0000 | [diff] [blame] | 147 | ##
|
| 148 | # PEI Apriori file example, more PEIM module added later.
|
| 149 | ##
|
| 150 | APRIORI PEI {
|
| 151 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
| 152 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
|
| 153 | }
|
qwang12 | 00b7321 | 2007-10-19 12:02:31 +0000 | [diff] [blame] | 154 | APRIORI DXE {
|
| 155 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
| 156 | INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
|
| 157 | }
|
qwang12 | 9c7aa18 | 2007-10-15 11:17:01 +0000 | [diff] [blame] | 158 |
|
mdkinney | a5b8a50 | 2007-08-17 21:04:53 +0000 | [diff] [blame] | 159 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
| 160 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
| 161 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
|
| 162 | INF Nt32Pkg/BootModePei/BootModePei.inf
|
| 163 | INF Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
|
| 164 | INF MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf
|
mdkinney | a5b8a50 | 2007-08-17 21:04:53 +0000 | [diff] [blame] | 165 | INF Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
|
| 166 | INF Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
|
klu2 | 58dcdad | 2008-02-29 18:24:43 +0000 | [diff] [blame] | 167 | INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
mdkinney | a5b8a50 | 2007-08-17 21:04:53 +0000 | [diff] [blame] | 168 | INF Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
|
| 169 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 170 |
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 171 | ##
|
| 172 | # DXE Phase modules
|
| 173 | ##
|
mdkinney | a5b8a50 | 2007-08-17 21:04:53 +0000 | [diff] [blame] | 174 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 175 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
| 176 | INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
|
| 177 | INF Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
| 178 | INF Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
| 179 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
| 180 | INF Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
| 181 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
| 182 | INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
| 183 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
| 184 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
qwang12 | 5fd5fcd | 2008-01-21 14:42:45 +0000 | [diff] [blame] | 185 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 186 | INF Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
|
| 187 | INF Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
|
klu2 | 5c5a2ca | 2009-01-23 07:26:59 +0000 | [diff] [blame^] | 188 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 189 | INF MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
|
| 190 | INF IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf
|
| 191 | INF Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
|
| 192 | INF Nt32Pkg/TimerDxe/TimerDxe.inf
|
| 193 | INF IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
|
| 194 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
| 195 | INF MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.inf
|
| 196 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
| 197 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
| 198 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
| 199 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
| 200 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
| 201 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
| 202 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
| 203 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 204 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
qwang12 | 5fd5fcd | 2008-01-21 14:42:45 +0000 | [diff] [blame] | 205 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 206 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
| 207 | INF IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
| 208 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
|
| 209 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
|
| 210 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
| 211 | INF Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf
|
| 212 | INF Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
|
| 213 | INF Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
|
| 214 | INF Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
|
| 215 | INF Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
|
qwang12 | 5fd5fcd | 2008-01-21 14:42:45 +0000 | [diff] [blame] | 216 | INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 217 | INF MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 218 |
|
| 219 | ################################################################################
|
| 220 | #
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 221 | # FILE statements are provided so that a platform integrator can include
|
| 222 | # complete EFI FFS files, as well as a method for constructing FFS files
|
| 223 | # using curly "{}" brace scoping. The following three FILEs are
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 224 | # for binary shell, binary fat and logo module.
|
| 225 | #
|
| 226 | ################################################################################
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 227 | FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 {
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 228 | SECTION COMPRESS PI_STD {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 229 | SECTION GUIDED {
|
vanjeff | 01a59a8 | 2008-09-27 04:59:27 +0000 | [diff] [blame] | 230 | SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 231 | }
|
| 232 | }
|
| 233 | }
|
lgao4 | ae8432d | 2008-09-09 02:53:35 +0000 | [diff] [blame] | 234 |
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 235 | FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {
|
lgao4 | ae8432d | 2008-09-09 02:53:35 +0000 | [diff] [blame] | 236 | SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 237 | }
|
lgao4 | ae8432d | 2008-09-09 02:53:35 +0000 | [diff] [blame] | 238 |
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 239 | FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {
|
lgao4 | ae8432d | 2008-09-09 02:53:35 +0000 | [diff] [blame] | 240 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 241 | }
|
| 242 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 243 |
|
| 244 | ################################################################################
|
| 245 | #
|
qhuang8 | 8df425c | 2007-08-17 06:57:21 +0000 | [diff] [blame] | 246 | # Rules are use with the [FV] section's module INF type to define
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 247 | # how an FFS file is created for a given INF file. The following Rule are the default
|
| 248 | # rules for the different module type. User can add the customized rules to define the
|
| 249 | # content of the FFS file.
|
| 250 | #
|
| 251 | ################################################################################
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 252 |
|
| 253 |
|
| 254 | ############################################################################
|
| 255 | # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
|
| 256 | ############################################################################
|
| 257 | #
|
| 258 | #[Rule.Common.DXE_DRIVER]
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 259 | # FILE DRIVER = $(NAMED_GUID) {
|
| 260 | # DXE_DEPEX DXE_DEPEX Optional |.depex
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 261 | # COMPRESS PI_STD {
|
| 262 | # GUIDED {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 263 | # PE32 PE32 |.efi
|
| 264 | # UI STRING="$(MODULE_NAME)" Optional
|
| 265 | # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 266 | # }
|
| 267 | # }
|
| 268 | # }
|
| 269 | #
|
| 270 | ############################################################################
|
| 271 |
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 272 | [Rule.Common.PEI_CORE]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 273 | FILE PEI_CORE = $(NAMED_GUID) {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 274 | PE32 PE32 |.efi
|
| 275 | UI STRING ="$(MODULE_NAME)" Optional
|
| 276 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 277 | }
|
| 278 |
|
| 279 | [Rule.Common.PEIM]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 280 | FILE PEIM = $(NAMED_GUID) {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 281 | PEI_DEPEX PEI_DEPEX Optional |.depex
|
lgao4 | c47eca1 | 2007-11-30 09:25:57 +0000 | [diff] [blame] | 282 | PE32 PE32 |.efi
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 283 | UI STRING="$(MODULE_NAME)" Optional
|
| 284 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 285 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 286 |
|
lgao4 | 372787b | 2007-12-18 06:55:36 +0000 | [diff] [blame] | 287 | [Rule.Common.PEIM.TIANOCOMPRESSED]
|
lgao4 | a6be5d4 | 2009-01-08 08:50:18 +0000 | [diff] [blame] | 288 | FILE PEIM = $(NAMED_GUID) {
|
lgao4 | 372787b | 2007-12-18 06:55:36 +0000 | [diff] [blame] | 289 | PEI_DEPEX PEI_DEPEX Optional |.depex
|
| 290 | GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
|
| 291 | PE32 PE32 |.efi
|
| 292 | UI STRING="$(MODULE_NAME)" Optional
|
| 293 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 294 | }
|
| 295 | }
|
| 296 |
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 297 | [Rule.Common.DXE_CORE]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 298 | FILE DXE_CORE = $(NAMED_GUID) {
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 299 | COMPRESS PI_STD {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 300 | PE32 PE32 |.efi
|
| 301 | UI STRING="$(MODULE_NAME)" Optional
|
| 302 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 303 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 304 | }
|
| 305 |
|
| 306 | [Rule.Common.UEFI_DRIVER]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 307 | FILE DRIVER = $(NAMED_GUID) {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 308 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 309 | COMPRESS PI_STD {
|
| 310 | GUIDED {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 311 | PE32 PE32 |.efi
|
| 312 | UI STRING="$(MODULE_NAME)" Optional
|
| 313 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 314 | }
|
| 315 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 316 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 317 |
|
| 318 | [Rule.Common.DXE_DRIVER]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 319 | FILE DRIVER = $(NAMED_GUID) {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 320 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 321 | COMPRESS PI_STD {
|
| 322 | GUIDED {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 323 | PE32 PE32 |.efi
|
| 324 | UI STRING="$(MODULE_NAME)" Optional
|
| 325 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 326 | }
|
| 327 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 328 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 329 |
|
| 330 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 331 | FILE DRIVER = $(NAMED_GUID) {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 332 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 333 | COMPRESS PI_STD {
|
| 334 | GUIDED {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 335 | PE32 PE32 |.efi
|
| 336 | UI STRING="$(MODULE_NAME)" Optional
|
| 337 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 338 | }
|
| 339 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 340 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 341 |
|
| 342 | [Rule.Common.UEFI_APPLICATION]
|
mdkinney | 29c3622 | 2007-08-16 21:47:44 +0000 | [diff] [blame] | 343 | FILE APPLICATION = $(NAMED_GUID) {
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 344 | COMPRESS PI_STD {
|
| 345 | GUIDED {
|
lgao4 | c4396d6 | 2007-09-10 05:46:12 +0000 | [diff] [blame] | 346 | PE32 PE32 |.efi
|
| 347 | UI STRING="$(MODULE_NAME)" Optional
|
| 348 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 349 | }
|
| 350 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 351 | }
|