blob: e0d93b9c6b30b6a23ea91d89957832eca0c21340 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
qwang125fd5fcd2008-01-21 14:42:45 +00002# This is NT32 FDF file with UEFI HII features enabled
klu2a9ce5752007-07-27 05:33:01 +00003#
Ruiyu Ni811e73a2015-05-11 03:06:53 +00004# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
klu2a9ce5752007-07-27 05:33:01 +00005#
hhtian8f2a5f82010-04-28 12:24:39 +00006# This program and the accompanying materials
klu2a9ce5752007-07-27 05:33:01 +00007# 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#
lgao424491cf2007-07-03 03:10:14 +000014
lgao4f5d74f62007-07-03 09:10:26 +000015################################################################################
16#
17# FD Section
vanjeff7800ef42007-07-16 06:38:10 +000018# 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
lgao4d88bd7a2007-07-26 06:35:29 +000020# defines one flash "device" image. A flash device image may be one of
vanjeff7800ef42007-07-16 06:38:10 +000021# the following: Removable media bootable image (like a boot floppy
lgao4d88bd7a2007-07-26 06:35:29 +000022# image,) an Option ROM image (that would be "flashed" into an add-in
qhuang88df425c2007-08-17 06:57:21 +000023# card,) a System "Flash" image (that would be burned into a system's
lgao4d88bd7a2007-07-26 06:35:29 +000024# flash) or an Update ("Capsule") image that will be used to update and
lgao4f5d74f62007-07-03 09:10:26 +000025# existing system flash.
26#
27################################################################################
lgao4ae8432d2008-09-09 02:53:35 +000028[FD.Nt32]
lgao4c4396d62007-09-10 05:46:12 +000029BaseAddress = 0x0|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddress #The base address of the FLASH Device.
30Size = 0x002a0000 #The size in bytes of the FLASH Device
lgao424491cf2007-07-03 03:10:14 +000031ErasePolarity = 1
32BlockSize = 0x10000
33NumBlocks = 0x2a
34
lgao4f5d74f62007-07-03 09:10:26 +000035################################################################################
36#
vanjeff7800ef42007-07-16 06:38:10 +000037# Following are lists of FD Region layout which correspond to the locations of different
38# images within the flash device.
39#
lgao4f5d74f62007-07-03 09:10:26 +000040# Regions must be defined in ascending order and may not overlap.
41#
lgao4d88bd7a2007-07-26 06:35:29 +000042# 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:
lgao4f5d74f62007-07-03 09:10:26 +000045# Offset|Size
46# PcdOffsetCName|PcdSizeCName
47# RegionType <FV, DATA, or FILE>
48#
49################################################################################
lgao424491cf2007-07-03 03:10:14 +0000500x00000000|0x00280000
lgao4c4396d62007-09-10 05:46:12 +000051gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize
lgao424491cf2007-07-03 03:10:14 +000052FV = FvRecovery
53
540x00280000|0x0000c000
lgao4c4396d62007-09-10 05:46:12 +000055gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
lgao4498f4b32008-02-28 12:28:20 +000056#NV_VARIABLE_STORE
lgao424491cf2007-07-03 03:10:14 +000057DATA = {
lgao4498f4b32008-02-28 12:28:20 +000058 ## This is the EFI_FIRMWARE_VOLUME_HEADER
59 # ZeroVector []
vanjeff7800ef42007-07-16 06:38:10 +000060 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
61 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
lgao4498f4b32008-02-28 12:28:20 +000062 # 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
vanjeff7800ef42007-07-16 06:38:10 +000067 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
lgao4498f4b32008-02-28 12:28:20 +000068 #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
vanjeff7800ef42007-07-16 06:38:10 +000073 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
lgao4498f4b32008-02-28 12:28:20 +000074 #Blockmap[1]: End
vanjeff7800ef42007-07-16 06:38:10 +000075 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
lgao4498f4b32008-02-28 12:28:20 +000076 ## This is the VARIABLE_STORE_HEADER
leegrosenbaum0ff38cb2012-04-11 16:23:41 +000077!if $(SECURE_BOOT_ENABLE) == TRUE
78 #Signature: gEfiAuthenticatedVariableGuid =
79 # { 0xaaf32c78, 0x947b, 0x439a, { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }}
80 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43,
81 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92,
82!else
eric_tian3709c4c2009-02-27 05:35:08 +000083 #Signature: gEfiVariableGuid =
84 # { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
85 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
86 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
leegrosenbaum0ff38cb2012-04-11 16:23:41 +000087!endif
eric_tian3709c4c2009-02-27 05:35:08 +000088 #Size: 0xc000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xBFB8
89 # This can speed up the Variable Dispatch a bit.
90 0xB8, 0xBF, 0x00, 0x00,
lgao4498f4b32008-02-28 12:28:20 +000091 #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
92 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
lgao424491cf2007-07-03 03:10:14 +000093}
94
950x0028c000|0x00002000
lgao4498f4b32008-02-28 12:28:20 +000096#NV_EVENT_LOG
lgao4c4396d62007-09-10 05:46:12 +000097gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize
lgao424491cf2007-07-03 03:10:14 +000098
990x0028e000|0x00002000
lgao4c4396d62007-09-10 05:46:12 +0000100gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
lgao4498f4b32008-02-28 12:28:20 +0000101#NV_FTW_WORKING
vanjeff7800ef42007-07-16 06:38:10 +0000102DATA = {
Star Zeng71e9d092013-07-03 09:19:47 +0000103 # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =
104 # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95 }}
105 0x2b, 0x29, 0x58, 0x9e, 0x68, 0x7c, 0x7d, 0x49,
106 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95,
lgao4498f4b32008-02-28 12:28:20 +0000107 # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
Star Zeng71e9d092013-07-03 09:19:47 +0000108 0xE2, 0x33, 0xF2, 0x03, 0xFE, 0xFF, 0xFF, 0xFF,
lgao42a958a02008-07-17 07:05:21 +0000109 # WriteQueueSize: UINT64
110 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
lgao424491cf2007-07-03 03:10:14 +0000111}
112
1130x00290000|0x00010000
lgao4498f4b32008-02-28 12:28:20 +0000114#NV_FTW_SPARE
lgao4c4396d62007-09-10 05:46:12 +0000115gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
lgao424491cf2007-07-03 03:10:14 +0000116
lgao4f5d74f62007-07-03 09:10:26 +0000117################################################################################
118#
119# FV Section
120#
121# [FV] section is used to define what components or modules are placed within a flash
122# device file. This section also defines order the components and modules are positioned
123# within the image. The [FV] section consists of define statements, set statements and
124# module statements.
125#
126################################################################################
lgao424491cf2007-07-03 03:10:14 +0000127[FV.FvRecovery]
vanjeff7800ef42007-07-16 06:38:10 +0000128FvAlignment = 16 #FV alignment and FV attributes setting.
lgao424491cf2007-07-03 03:10:14 +0000129ERASE_POLARITY = 1
130MEMORY_MAPPED = TRUE
131STICKY_WRITE = TRUE
132LOCK_CAP = TRUE
133LOCK_STATUS = TRUE
134WRITE_DISABLED_CAP = TRUE
135WRITE_ENABLED_CAP = TRUE
136WRITE_STATUS = TRUE
137WRITE_LOCK_CAP = TRUE
138WRITE_LOCK_STATUS = TRUE
139READ_DISABLED_CAP = TRUE
140READ_ENABLED_CAP = TRUE
141READ_STATUS = TRUE
142READ_LOCK_CAP = TRUE
143READ_LOCK_STATUS = TRUE
klu2eb920362009-03-10 09:27:59 +0000144FvNameGuid = 6D99E806-3D38-42c2-A095-5F4300BFD7DC
lgao424491cf2007-07-03 03:10:14 +0000145
lgao4f5d74f62007-07-03 09:10:26 +0000146################################################################################
147#
148# The INF statements point to EDK component and EDK II module INF files, which will be placed into this FV image.
149# Parsing tools will scan the INF file to determine the type of component or module.
vanjeff7800ef42007-07-16 06:38:10 +0000150# The component or module type is used to reference the standard rules
lgao4f5d74f62007-07-03 09:10:26 +0000151# defined elsewhere in the FDF file.
152#
153# The format for INF statements is:
154# INF $(PathAndInfFileName)
155#
156################################################################################
klu204eced52007-07-06 14:56:41 +0000157 ##
158 # PEI Phase modules
159 ##
qwang129c7aa182007-10-15 11:17:01 +0000160 ##
161 # PEI Apriori file example, more PEIM module added later.
162 ##
163APRIORI PEI {
164 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
xli2425126a02009-11-03 02:39:10 +0000165 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
xli24164393a2009-12-25 07:29:33 +0000166 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
xli2425126a02009-11-03 02:39:10 +0000167 INF Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
qwang129c7aa182007-10-15 11:17:01 +0000168 }
qwang1200b73212007-10-19 12:02:31 +0000169APRIORI DXE {
Ruiyu Ni863986b2013-07-26 03:14:08 +0000170 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
qwang1200b73212007-10-19 12:02:31 +0000171 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
172 INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
173 }
qwang129c7aa182007-10-15 11:17:01 +0000174
mdkinneya5b8a502007-08-17 21:04:53 +0000175INF MdeModulePkg/Core/Pei/PeiMain.inf
176INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
xli2425126a02009-11-03 02:39:10 +0000177INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
xli24164393a2009-12-25 07:29:33 +0000178INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
xli2425126a02009-11-03 02:39:10 +0000179INF Nt32Pkg/WinNtOemHookStatusCodeHandlerPei/WinNtOemHookStatusCodeHandlerPei.inf
mdkinneya5b8a502007-08-17 21:04:53 +0000180INF Nt32Pkg/BootModePei/BootModePei.inf
klu2ba82cb62010-01-04 04:45:44 +0000181INF Nt32Pkg/StallPei/StallPei.inf
mdkinneya5b8a502007-08-17 21:04:53 +0000182INF Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
mdkinneya5b8a502007-08-17 21:04:53 +0000183INF Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
184INF Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000185
Star Zeng71e9d092013-07-03 09:19:47 +0000186INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
klu258dcdad2008-02-29 18:24:43 +0000187INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000188
mdkinneya5b8a502007-08-17 21:04:53 +0000189INF Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
190INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
vanjeff7800ef42007-07-16 06:38:10 +0000191
klu204eced52007-07-06 14:56:41 +0000192 ##
193 # DXE Phase modules
194 ##
mdkinneya5b8a502007-08-17 21:04:53 +0000195INF MdeModulePkg/Core/Dxe/DxeMain.inf
lgao4c47eca12007-11-30 09:25:57 +0000196INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
197INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
198INF Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
199INF Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
200INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
201INF Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
202INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
davidhuang1fdd39d2009-11-20 04:02:03 +0000203INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
lgao4c47eca12007-11-30 09:25:57 +0000204INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
205INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000206INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
lgao4c47eca12007-11-30 09:25:57 +0000207INF Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
208INF Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
Ruiyu Ni811e73a2015-05-11 03:06:53 +0000209INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
Eric Dongf2993c02015-07-30 03:45:09 +0000210INF MdeModulePkg/Application/UiApp/UiApp.inf
Ruiyu Ni811e73a2015-05-11 03:06:53 +0000211INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
lgao4eba3ff42009-03-04 01:31:34 +0000212INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
lgao4c47eca12007-11-30 09:25:57 +0000213INF Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
214INF Nt32Pkg/TimerDxe/TimerDxe.inf
xli2425126a02009-11-03 02:39:10 +0000215INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
xli24164393a2009-12-25 07:29:33 +0000216INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
xli2425126a02009-11-03 02:39:10 +0000217INF Nt32Pkg/WinNtOemHookStatusCodeHandlerDxe/WinNtOemHookStatusCodeHandlerDxe.inf
lgao4c47eca12007-11-30 09:25:57 +0000218INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
Star Zeng6f88fb22015-07-01 03:09:00 +0000219!if $(SECURE_BOOT_ENABLE) == TRUE
220INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
leegrosenbaum0ff38cb2012-04-11 16:23:41 +0000221!endif
jlin169efcf132009-03-20 07:53:09 +0000222INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
lgao4c47eca12007-11-30 09:25:57 +0000223INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
224INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
225INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
226INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
227INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
228INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
229INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
230INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
231INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
Eric Dong6b1ac442013-08-12 02:25:59 +0000232INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
qwang125fd5fcd2008-01-21 14:42:45 +0000233INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
qhuang8fcf24ba2009-02-23 03:20:29 +0000234INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
lgao497ef8cf2009-03-11 03:06:25 +0000235INF RuleOverride = TIANOCOMPRESSED MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
davidhuang061b1c22009-10-20 03:44:03 +0000236INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
lgao4d46f3632009-07-09 05:48:35 +0000237INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
238INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
lgao4c47eca12007-11-30 09:25:57 +0000239INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
240INF Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf
241INF Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
242INF Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
243INF Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
244INF Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
lgao427431722009-02-24 15:37:53 +0000245INF MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
lgao4785a1212009-04-13 06:24:36 +0000246INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
lgao4f5d74f62007-07-03 09:10:26 +0000247
eric_tian3709c4c2009-02-27 05:35:08 +0000248INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
249INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
250INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
eric_tian3709c4c2009-02-27 05:35:08 +0000251INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
252INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
xdu21b14ec42010-03-03 10:47:27 +0000253INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
eric_tian3709c4c2009-02-27 05:35:08 +0000254INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
255INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
256INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
257INF Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
vanjeffdda34dc2009-09-03 09:09:58 +0000258INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
eric_tian3709c4c2009-02-27 05:35:08 +0000259INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Fu Siyuan24662802015-07-09 08:33:38 +0000260INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
261INF NetworkPkg/DnsDxe/DnsDxe.inf
262INF NetworkPkg/HttpDxe/HttpDxe.inf
Jiaxin Wu4018f202015-08-24 01:24:44 +0000263INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
lgao4f5d74f62007-07-03 09:10:26 +0000264################################################################################
265#
vanjeff7800ef42007-07-16 06:38:10 +0000266# FILE statements are provided so that a platform integrator can include
267# complete EFI FFS files, as well as a method for constructing FFS files
268# using curly "{}" brace scoping. The following three FILEs are
lgao4f5d74f62007-07-03 09:10:26 +0000269# for binary shell, binary fat and logo module.
270#
271################################################################################
Ruiyu Ni27909262014-11-25 08:53:33 +0000272!ifndef $(USE_OLD_SHELL)
273INF ShellBinPkg/UefiShell/UefiShell.inf
274!else
275INF EdkShellBinPkg/FullShell/FullShell.inf
276!endif
lgao4ae8432d2008-09-09 02:53:35 +0000277
Jiamin Maf66a43b2013-10-12 06:31:55 +0000278INF FatBinPkg/EnhancedFatDxe/Fat.inf
lgao4ae8432d2008-09-09 02:53:35 +0000279
lgao4d46f3632009-07-09 05:48:35 +0000280FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
lgao4ae8432d2008-09-09 02:53:35 +0000281 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
lgao4c47eca12007-11-30 09:25:57 +0000282 }
283
lgao4f5d74f62007-07-03 09:10:26 +0000284
285################################################################################
286#
qhuang88df425c2007-08-17 06:57:21 +0000287# Rules are use with the [FV] section's module INF type to define
lgao4f5d74f62007-07-03 09:10:26 +0000288# how an FFS file is created for a given INF file. The following Rule are the default
289# rules for the different module type. User can add the customized rules to define the
290# content of the FFS file.
291#
292################################################################################
mdkinney29c36222007-08-16 21:47:44 +0000293
294
295############################################################################
296# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
297############################################################################
298#
299#[Rule.Common.DXE_DRIVER]
lgao4c4396d62007-09-10 05:46:12 +0000300# FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000301# DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
mdkinney29c36222007-08-16 21:47:44 +0000302# COMPRESS PI_STD {
303# GUIDED {
lgao42014a812010-03-01 06:47:58 +0000304# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000305# UI STRING="$(MODULE_NAME)" Optional
306# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
mdkinney29c36222007-08-16 21:47:44 +0000307# }
308# }
309# }
310#
311############################################################################
312
lgao424491cf2007-07-03 03:10:14 +0000313[Rule.Common.PEI_CORE]
mdkinney29c36222007-08-16 21:47:44 +0000314 FILE PEI_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000315 PE32 PE32 Align=4K $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000316 UI STRING ="$(MODULE_NAME)" Optional
317 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
lgao424491cf2007-07-03 03:10:14 +0000318 }
319
320[Rule.Common.PEIM]
mdkinney29c36222007-08-16 21:47:44 +0000321 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000322 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
323 PE32 PE32 Align=4K $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000324 UI STRING="$(MODULE_NAME)" Optional
325 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
vanjeff7800ef42007-07-16 06:38:10 +0000326 }
lgao424491cf2007-07-03 03:10:14 +0000327
328[Rule.Common.DXE_CORE]
mdkinney29c36222007-08-16 21:47:44 +0000329 FILE DXE_CORE = $(NAMED_GUID) {
lgao424491cf2007-07-03 03:10:14 +0000330 COMPRESS PI_STD {
lgao42014a812010-03-01 06:47:58 +0000331 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000332 UI STRING="$(MODULE_NAME)" Optional
333 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
vanjeff7800ef42007-07-16 06:38:10 +0000334 }
lgao424491cf2007-07-03 03:10:14 +0000335 }
336
337[Rule.Common.UEFI_DRIVER]
mdkinney29c36222007-08-16 21:47:44 +0000338 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000339 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao424491cf2007-07-03 03:10:14 +0000340 COMPRESS PI_STD {
341 GUIDED {
lgao42014a812010-03-01 06:47:58 +0000342 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000343 UI STRING="$(MODULE_NAME)" Optional
344 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
lgao424491cf2007-07-03 03:10:14 +0000345 }
346 }
vanjeff7800ef42007-07-16 06:38:10 +0000347 }
lgao424491cf2007-07-03 03:10:14 +0000348
lgao497ef8cf2009-03-11 03:06:25 +0000349[Rule.Common.UEFI_DRIVER.TIANOCOMPRESSED]
350 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000351 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao497ef8cf2009-03-11 03:06:25 +0000352 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
lgao42014a812010-03-01 06:47:58 +0000353 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao497ef8cf2009-03-11 03:06:25 +0000354 UI STRING="$(MODULE_NAME)" Optional
355 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
356 }
357 }
358
lgao424491cf2007-07-03 03:10:14 +0000359[Rule.Common.DXE_DRIVER]
mdkinney29c36222007-08-16 21:47:44 +0000360 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000361 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao424491cf2007-07-03 03:10:14 +0000362 COMPRESS PI_STD {
363 GUIDED {
lgao42014a812010-03-01 06:47:58 +0000364 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000365 UI STRING="$(MODULE_NAME)" Optional
366 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
lgao424491cf2007-07-03 03:10:14 +0000367 }
368 }
vanjeff7800ef42007-07-16 06:38:10 +0000369 }
lgao424491cf2007-07-03 03:10:14 +0000370
371[Rule.Common.DXE_RUNTIME_DRIVER]
mdkinney29c36222007-08-16 21:47:44 +0000372 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000373 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao424491cf2007-07-03 03:10:14 +0000374 COMPRESS PI_STD {
375 GUIDED {
lgao42014a812010-03-01 06:47:58 +0000376 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000377 UI STRING="$(MODULE_NAME)" Optional
378 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
lgao424491cf2007-07-03 03:10:14 +0000379 }
380 }
vanjeff7800ef42007-07-16 06:38:10 +0000381 }
lgao424491cf2007-07-03 03:10:14 +0000382
383[Rule.Common.UEFI_APPLICATION]
mdkinney29c36222007-08-16 21:47:44 +0000384 FILE APPLICATION = $(NAMED_GUID) {
lgao424491cf2007-07-03 03:10:14 +0000385 COMPRESS PI_STD {
386 GUIDED {
lgao42014a812010-03-01 06:47:58 +0000387 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4c4396d62007-09-10 05:46:12 +0000388 UI STRING="$(MODULE_NAME)" Optional
389 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
lgao424491cf2007-07-03 03:10:14 +0000390 }
391 }
vanjeff7800ef42007-07-16 06:38:10 +0000392 }
Jiamin Maf66a43b2013-10-12 06:31:55 +0000393
394[Rule.Common.UEFI_APPLICATION.BINARY]
395 FILE APPLICATION = $(NAMED_GUID) {
396 COMPRESS PI_STD {
397 GUIDED {
398 PE32 PE32 |.efi
399 UI STRING="$(MODULE_NAME)" Optional
400 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
401 }
402 }
403 }
404
405[Rule.Common.UEFI_DRIVER.BINARY]
406 FILE DRIVER = $(NAMED_GUID) {
407 DXE_DEPEX DXE_DEPEX Optional |.depex
408 COMPRESS PI_STD {
409 GUIDED {
410 PE32 PE32 |.efi
411 UI STRING="$(MODULE_NAME)" Optional
412 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
413 }
414 }
415 }