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