lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 1 | # This is NT32 FDF file
|
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
|
| 22 | # card,) a System "Flash" image (that would be burned into a system¡¯s
|
| 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 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 27 | [FD.Fv_Recovery]
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 28 | BaseAddress = 0x0|PcdFdBaseAddress #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
|
| 50 | PcdFlashFvRecoveryBase|PcdFlashFvRecoverySize
|
| 51 | FV = FvRecovery
|
| 52 |
|
| 53 | 0x00280000|0x0000c000
|
| 54 | PcdFlashNvStorageBase|PcdFlashNvStorageSize
|
| 55 | DATA = {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 56 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 57 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 58 | 0x8d, 0x2b, 0xf1, 0xff, 0x96, 0x76, 0x8b, 0x4c,
|
| 59 | 0xa9, 0x85, 0x27, 0x47, 0x07, 0x5b, 0x4f, 0x50,
|
| 60 | 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 61 | 0x5f, 0x46, 0x56, 0x48, 0xff, 0x8c, 0xff, 0xff,
|
| 62 | 0x48, 0x00, 0x3b, 0x7c, 0x00, 0x00, 0x00, 0x01,
|
| 63 | 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
| 64 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 65 | 0x24, 0x56, 0x53, 0x53, 0xb8, 0xbf, 0x00, 0x00,
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 66 | 0x5a, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
| 67 | }
|
| 68 |
|
| 69 | 0x0028c000|0x00002000
|
| 70 | PcdFlashNvStorageEventLogBase|PcdFlashNvStorageEventLogSize
|
| 71 |
|
| 72 | 0x0028e000|0x00002000
|
| 73 | PcdFlashNvStorageFtwWorkingBase|PcdFlashNvStorageFtwWorkingSize
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 74 | DATA = {
|
| 75 | 0x8d, 0x2b, 0xf1, 0xff, 0x96, 0x76, 0x8b, 0x4c,
|
| 76 | 0xa9, 0x85, 0x27, 0x47, 0x07, 0x5b, 0x4f, 0x50,
|
| 77 | 0xd2, 0x5f, 0x05, 0x9e, 0xfe, 0xff, 0xff, 0xff,
|
| 78 | 0xff, 0xff, 0xff, 0xff, 0xe0, 0x1f, 0x00, 0x00
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 79 | }
|
| 80 |
|
| 81 | 0x00290000|0x00010000
|
| 82 | PcdFlashNvStorageFtwSpareBase|PcdFlashNvStorageFtwSpareBase
|
| 83 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 84 | ################################################################################
|
| 85 | #
|
| 86 | # FV Section
|
| 87 | #
|
| 88 | # [FV] section is used to define what components or modules are placed within a flash
|
| 89 | # device file. This section also defines order the components and modules are positioned
|
| 90 | # within the image. The [FV] section consists of define statements, set statements and
|
| 91 | # module statements.
|
| 92 | #
|
| 93 | ################################################################################
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 94 | [FV.FvRecovery]
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 95 | FvAlignment = 16 #FV alignment and FV attributes setting.
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 96 | ERASE_POLARITY = 1
|
| 97 | MEMORY_MAPPED = TRUE
|
| 98 | STICKY_WRITE = TRUE
|
| 99 | LOCK_CAP = TRUE
|
| 100 | LOCK_STATUS = TRUE
|
| 101 | WRITE_DISABLED_CAP = TRUE
|
| 102 | WRITE_ENABLED_CAP = TRUE
|
| 103 | WRITE_STATUS = TRUE
|
| 104 | WRITE_LOCK_CAP = TRUE
|
| 105 | WRITE_LOCK_STATUS = TRUE
|
| 106 | READ_DISABLED_CAP = TRUE
|
| 107 | READ_ENABLED_CAP = TRUE
|
| 108 | READ_STATUS = TRUE
|
| 109 | READ_LOCK_CAP = TRUE
|
| 110 | READ_LOCK_STATUS = TRUE
|
| 111 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 112 | ################################################################################
|
| 113 | #
|
| 114 | # The INF statements point to EDK component and EDK II module INF files, which will be placed into this FV image.
|
| 115 | # 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] | 116 | # The component or module type is used to reference the standard rules
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 117 | # defined elsewhere in the FDF file.
|
| 118 | #
|
| 119 | # The format for INF statements is:
|
| 120 | # INF $(PathAndInfFileName)
|
| 121 | #
|
| 122 | ################################################################################
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 123 | ##
|
| 124 | # PEI Phase modules
|
| 125 | ##
|
klu2 | f534206 | 2007-07-05 05:57:27 +0000 | [diff] [blame] | 126 | INF $(WORKSPACE)/MdeModulePkg/Core/Pei/PeiMain.inf
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 127 | INF $(WORKSPACE)/MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 128 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
|
klu2 | 425152f | 2007-07-16 17:19:46 +0000 | [diff] [blame] | 129 | INF $(WORKSPACE)/Nt32Pkg/BootModePei/BootModePei.inf
|
klu2 | 03e9fdb | 2007-07-17 01:31:48 +0000 | [diff] [blame] | 130 | INF $(WORKSPACE)/Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
|
yshang1 | 05177be | 2007-07-19 08:26:33 +0000 | [diff] [blame] | 131 | INF $(WORKSPACE)/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTestPei.inf
|
yshang1 | 8d3a5c8 | 2007-07-19 10:09:07 +0000 | [diff] [blame] | 132 | INF $(WORKSPACE)/MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
klu2 | 590d33c | 2007-07-16 18:10:40 +0000 | [diff] [blame] | 133 | INF $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
|
klu2 | 9e851ec | 2007-07-17 02:18:39 +0000 | [diff] [blame] | 134 | INF $(WORKSPACE)/Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
|
klu2 | 9b4fb0a | 2007-07-17 01:54:43 +0000 | [diff] [blame] | 135 | INF $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 136 | INF $(WORKSPACE)/MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
| 137 |
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 138 | ##
|
| 139 | # DXE Phase modules
|
| 140 | ##
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 141 | INF $(WORKSPACE)/MdeModulePkg/Core/Dxe/DxeMain.inf
|
| 142 | INF $(WORKSPACE)/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
klu2 | 425152f | 2007-07-16 17:19:46 +0000 | [diff] [blame] | 143 | INF $(WORKSPACE)/Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
|
| 144 | INF $(WORKSPACE)/Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
| 145 | INF $(WORKSPACE)/Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
yshang1 | f2abdc9 | 2007-07-19 08:36:30 +0000 | [diff] [blame] | 146 | INF $(WORKSPACE)/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
klu2 | 9e851ec | 2007-07-17 02:18:39 +0000 | [diff] [blame] | 147 | INF $(WORKSPACE)/Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
yshang1 | d877505 | 2007-07-19 09:01:25 +0000 | [diff] [blame] | 148 | INF $(WORKSPACE)/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 149 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
| 150 | INF $(WORKSPACE)/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
yshang1 | 05177be | 2007-07-19 08:26:33 +0000 | [diff] [blame] | 151 | INF $(WORKSPACE)/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 152 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/HiiDataBaseDxe/HiiDatabase.inf
|
klu2 | cba9a24 | 2007-07-17 01:51:56 +0000 | [diff] [blame] | 153 | INF $(WORKSPACE)/Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 154 | INF $(WORKSPACE)/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtractDxe.inf
|
klu2 | 425152f | 2007-07-16 17:19:46 +0000 | [diff] [blame] | 155 | INF $(WORKSPACE)/Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
|
| 156 | INF $(WORKSPACE)/Nt32Pkg/PlatformBdsDxe/PlatformBdsDxe.inf
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 157 | INF $(WORKSPACE)/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
|
| 158 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf
|
klu2 | 425152f | 2007-07-16 17:19:46 +0000 | [diff] [blame] | 159 | INF $(WORKSPACE)/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
|
| 160 | INF $(WORKSPACE)/Nt32Pkg/TimerDxe/TimerDxe.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 161 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
|
yshang1 | 8d3a5c8 | 2007-07-19 10:09:07 +0000 | [diff] [blame] | 162 | INF $(WORKSPACE)/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 163 | INF $(WORKSPACE)/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.inf
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 164 | INF $(WORKSPACE)/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
| 165 | INF $(WORKSPACE)/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
| 166 | INF $(WORKSPACE)/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
| 167 | INF $(WORKSPACE)/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
| 168 | INF $(WORKSPACE)/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
klu2 | 08523b0 | 2007-07-17 02:23:15 +0000 | [diff] [blame] | 169 | INF $(WORKSPACE)/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
klu2 | 06733a9 | 2007-07-17 02:26:33 +0000 | [diff] [blame] | 170 | INF $(WORKSPACE)/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 171 | INF $(WORKSPACE)/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 172 | INF $(WORKSPACE)/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 173 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 174 | INF $(WORKSPACE)/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
| 175 | INF $(WORKSPACE)/MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.inf
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 176 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
klu2 | 42d600c | 2007-07-16 17:30:02 +0000 | [diff] [blame] | 177 | INF $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition
|
| 178 | INF $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition
|
qhuang8 | 9468e24 | 2007-07-18 14:36:12 +0000 | [diff] [blame] | 179 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
klu2 | 23545f1 | 2007-07-17 04:01:44 +0000 | [diff] [blame] | 180 | INF $(WORKSPACE)/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf
|
klu2 | 590d33c | 2007-07-16 18:10:40 +0000 | [diff] [blame] | 181 | INF $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
|
klu2 | 01b6051 | 2007-07-17 01:24:53 +0000 | [diff] [blame] | 182 | INF $(WORKSPACE)/Nt32Pkg/WinNtConsoleDxe/WinNtConsoleDxe.inf
|
klu2 | 7955800 | 2007-07-17 01:46:50 +0000 | [diff] [blame] | 183 | INF $(WORKSPACE)/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
|
klu2 | 2ad8b20 | 2007-07-17 01:44:30 +0000 | [diff] [blame] | 184 | INF $(WORKSPACE)/Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
|
klu2 | a1ad1ca | 2007-07-17 01:49:53 +0000 | [diff] [blame] | 185 | INF $(WORKSPACE)/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 186 | INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 187 | INF $(WORKSPACE)/MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 188 |
|
| 189 | ################################################################################
|
| 190 | #
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 191 | # FILE statements are provided so that a platform integrator can include
|
| 192 | # complete EFI FFS files, as well as a method for constructing FFS files
|
| 193 | # using curly "{}" brace scoping. The following three FILEs are
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 194 | # for binary shell, binary fat and logo module.
|
| 195 | #
|
| 196 | ################################################################################
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 197 | FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 CHECKSUM {
|
| 198 | SECTION COMPRESS PI_STD {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 199 | SECTION GUIDED {
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 200 | SECTION PE32 = EdkShellBinPkg/FullShell/ia32/Shell_Full.efi
|
| 201 | }
|
| 202 | }
|
| 203 | }
|
qhuang8 | e0086b5 | 2007-07-07 05:40:48 +0000 | [diff] [blame] | 204 | FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F CHECKSUM {
|
| 205 | SECTION COMPRESS PI_STD {
|
| 206 | SECTION GUIDED {
|
qhuang8 | d4b8162 | 2007-07-09 05:09:42 +0000 | [diff] [blame] | 207 | SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
|
qhuang8 | e0086b5 | 2007-07-07 05:40:48 +0000 | [diff] [blame] | 208 | }
|
| 209 | }
|
| 210 | }
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 211 | FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D CHECKSUM {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 212 | SECTION COMPRESS PI_STD {
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 213 | SECTION GUIDED {
|
mdkinney | 49ddf61 | 2007-07-16 23:34:46 +0000 | [diff] [blame] | 214 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
klu2 | 04eced5 | 2007-07-06 14:56:41 +0000 | [diff] [blame] | 215 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 216 | }
|
| 217 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 218 |
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 219 |
|
| 220 | ################################################################################
|
| 221 | #
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 222 | # Rules are use with the [FV] section¡¯s module INF type to define
|
lgao4 | f5d74f6 | 2007-07-03 09:10:26 +0000 | [diff] [blame] | 223 | # how an FFS file is created for a given INF file. The following Rule are the default
|
| 224 | # rules for the different module type. User can add the customized rules to define the
|
| 225 | # content of the FFS file.
|
| 226 | #
|
| 227 | ################################################################################
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 228 | [Rule.Common.PEI_CORE]
|
| 229 | FILE PEI_CORE = $(NAMED_GUID) CheckSum {
|
| 230 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
| 231 | UI Optional $(MODULE_NAME)
|
| 232 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
| 233 | }
|
| 234 |
|
| 235 | [Rule.Common.PEIM]
|
| 236 | FILE PEIM = $(NAMED_GUID) CheckSum {
|
| 237 | PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).Depex
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 238 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 239 | UI Optional $(MODULE_NAME)
|
| 240 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 241 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 242 |
|
| 243 | [Rule.Common.DXE_CORE]
|
| 244 | FILE DXE_CORE = $(NAMED_GUID) CheckSum {
|
| 245 | COMPRESS PI_STD {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 246 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 247 | UI Optional $(MODULE_NAME)
|
| 248 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 249 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 250 | }
|
| 251 |
|
| 252 | [Rule.Common.UEFI_DRIVER]
|
| 253 | FILE DRIVER = $(NAMED_GUID) CheckSum {
|
| 254 | COMPRESS PI_STD {
|
| 255 | GUIDED {
|
| 256 | DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 257 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 258 | UI Optional $(MODULE_NAME)
|
| 259 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
| 260 | }
|
| 261 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 262 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 263 |
|
| 264 | [Rule.Common.DXE_DRIVER]
|
| 265 | FILE DRIVER = $(NAMED_GUID) CheckSum {
|
| 266 | COMPRESS PI_STD {
|
| 267 | GUIDED {
|
| 268 | DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 269 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 270 | UI Optional $(MODULE_NAME)
|
| 271 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
| 272 | }
|
| 273 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 274 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 275 |
|
| 276 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
| 277 | FILE DRIVER = $(NAMED_GUID) CheckSum {
|
| 278 | COMPRESS PI_STD {
|
| 279 | GUIDED {
|
| 280 | DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 281 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 282 | UI Optional $(MODULE_NAME)
|
| 283 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
| 284 | }
|
| 285 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 286 | }
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 287 |
|
| 288 | [Rule.Common.UEFI_APPLICATION]
|
| 289 | FILE APPLICATION = $(NAMED_GUID) CheckSum {
|
| 290 | COMPRESS PI_STD {
|
| 291 | GUIDED {
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 292 | PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
lgao4 | 24491cf | 2007-07-03 03:10:14 +0000 | [diff] [blame] | 293 | UI Optional $(MODULE_NAME)
|
| 294 | VERSION Optional BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)
|
| 295 | }
|
| 296 | }
|
vanjeff | 7800ef4 | 2007-07-16 06:38:10 +0000 | [diff] [blame] | 297 | }
|