2008-01-21 15:42:45 +01:00
|
|
|
# This is NT32 FDF file with UEFI HII features enabled
|
2007-07-27 07:33:01 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007, Intel Corporation
|
|
|
|
#
|
|
|
|
# All rights reserved. This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
2007-07-03 05:10:14 +02:00
|
|
|
|
2007-07-03 11:10:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# FD Section
|
2007-07-16 08:38:10 +02:00
|
|
|
# The [FD] Section is made up of the definition statements and a
|
|
|
|
# description of what goes into the Flash Device Image. Each FD section
|
2007-07-26 08:35:29 +02:00
|
|
|
# defines one flash "device" image. A flash device image may be one of
|
2007-07-16 08:38:10 +02:00
|
|
|
# the following: Removable media bootable image (like a boot floppy
|
2007-07-26 08:35:29 +02:00
|
|
|
# image,) an Option ROM image (that would be "flashed" into an add-in
|
2007-08-17 08:57:21 +02:00
|
|
|
# card,) a System "Flash" image (that would be burned into a system's
|
2007-07-26 08:35:29 +02:00
|
|
|
# flash) or an Update ("Capsule") image that will be used to update and
|
2007-07-03 11:10:26 +02:00
|
|
|
# existing system flash.
|
|
|
|
#
|
|
|
|
################################################################################
|
2008-09-09 04:53:35 +02:00
|
|
|
[FD.Nt32]
|
2007-09-10 07:46:12 +02:00
|
|
|
BaseAddress = 0x0|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddress #The base address of the FLASH Device.
|
|
|
|
Size = 0x002a0000 #The size in bytes of the FLASH Device
|
2007-07-03 05:10:14 +02:00
|
|
|
ErasePolarity = 1
|
|
|
|
BlockSize = 0x10000
|
|
|
|
NumBlocks = 0x2a
|
|
|
|
|
2007-07-03 11:10:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2007-07-16 08:38:10 +02:00
|
|
|
# Following are lists of FD Region layout which correspond to the locations of different
|
|
|
|
# images within the flash device.
|
|
|
|
#
|
2007-07-03 11:10:26 +02:00
|
|
|
# Regions must be defined in ascending order and may not overlap.
|
|
|
|
#
|
2007-07-26 08:35:29 +02:00
|
|
|
# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
|
|
|
|
# the pipe "|" character, followed by the size of the region, also in hex with the leading
|
|
|
|
# "0x" characters. Like:
|
2007-07-03 11:10:26 +02:00
|
|
|
# Offset|Size
|
|
|
|
# PcdOffsetCName|PcdSizeCName
|
|
|
|
# RegionType <FV, DATA, or FILE>
|
|
|
|
#
|
|
|
|
################################################################################
|
2007-07-03 05:10:14 +02:00
|
|
|
0x00000000|0x00280000
|
2007-09-10 07:46:12 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize
|
2007-07-03 05:10:14 +02:00
|
|
|
FV = FvRecovery
|
|
|
|
|
|
|
|
0x00280000|0x0000c000
|
2007-09-10 07:46:12 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
2008-02-28 13:28:20 +01:00
|
|
|
#NV_VARIABLE_STORE
|
2007-07-03 05:10:14 +02:00
|
|
|
DATA = {
|
2008-02-28 13:28:20 +01:00
|
|
|
## This is the EFI_FIRMWARE_VOLUME_HEADER
|
|
|
|
# ZeroVector []
|
2007-07-16 08:38:10 +02:00
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
2008-02-28 13:28:20 +01:00
|
|
|
# FileSystemGuid: gEfiSystemNvDataFvGuid =
|
|
|
|
# { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
|
|
|
|
0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
|
|
|
|
0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
|
|
|
|
# FvLength: 0x20000
|
2007-07-16 08:38:10 +02:00
|
|
|
0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
2008-02-28 13:28:20 +01:00
|
|
|
#Signature "_FVH" #Attributes
|
|
|
|
0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
|
|
|
|
#HeaderLength #CheckSum #ExtHeaderOffset #Reserved #Revision
|
|
|
|
0x48, 0x00, 0x36, 0x09, 0x00, 0x00, 0x00, 0x02,
|
|
|
|
#Blockmap[0]: 2 Blocks * 0x10000 Bytes / Block
|
2007-07-16 08:38:10 +02:00
|
|
|
0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
|
2008-02-28 13:28:20 +01:00
|
|
|
#Blockmap[1]: End
|
2007-07-16 08:38:10 +02:00
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
2008-02-28 13:28:20 +01:00
|
|
|
## This is the VARIABLE_STORE_HEADER
|
2009-02-27 06:35:08 +01:00
|
|
|
#Signature: gEfiVariableGuid =
|
|
|
|
# { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
|
|
|
|
0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
|
|
|
|
0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
|
|
|
|
#Size: 0xc000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xBFB8
|
|
|
|
# This can speed up the Variable Dispatch a bit.
|
|
|
|
0xB8, 0xBF, 0x00, 0x00,
|
2008-02-28 13:28:20 +01:00
|
|
|
#FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
|
|
|
|
0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
0x0028c000|0x00002000
|
2008-02-28 13:28:20 +01:00
|
|
|
#NV_EVENT_LOG
|
2007-09-10 07:46:12 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize
|
2007-07-03 05:10:14 +02:00
|
|
|
|
|
|
|
0x0028e000|0x00002000
|
2007-09-10 07:46:12 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
2008-02-28 13:28:20 +01:00
|
|
|
#NV_FTW_WORKING
|
2007-07-16 08:38:10 +02:00
|
|
|
DATA = {
|
2008-02-28 13:28:20 +01:00
|
|
|
# EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEfiSystemNvDataFvGuid =
|
|
|
|
# { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
|
|
|
|
0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
|
|
|
|
0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
|
|
|
|
# Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
|
2008-07-17 09:05:21 +02:00
|
|
|
0x77, 0x13, 0x9B, 0xD7, 0xFE, 0xFF, 0xFF, 0xFF,
|
|
|
|
# WriteQueueSize: UINT64
|
|
|
|
0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
0x00290000|0x00010000
|
2008-02-28 13:28:20 +01:00
|
|
|
#NV_FTW_SPARE
|
2007-09-10 07:46:12 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
2007-07-03 05:10:14 +02:00
|
|
|
|
2007-07-03 11:10:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# FV Section
|
|
|
|
#
|
|
|
|
# [FV] section is used to define what components or modules are placed within a flash
|
|
|
|
# device file. This section also defines order the components and modules are positioned
|
|
|
|
# within the image. The [FV] section consists of define statements, set statements and
|
|
|
|
# module statements.
|
|
|
|
#
|
|
|
|
################################################################################
|
2007-11-30 10:25:57 +01:00
|
|
|
[FV.FvRecovery]
|
2007-07-16 08:38:10 +02:00
|
|
|
FvAlignment = 16 #FV alignment and FV attributes setting.
|
2007-07-03 05:10:14 +02:00
|
|
|
ERASE_POLARITY = 1
|
|
|
|
MEMORY_MAPPED = TRUE
|
|
|
|
STICKY_WRITE = TRUE
|
|
|
|
LOCK_CAP = TRUE
|
|
|
|
LOCK_STATUS = TRUE
|
|
|
|
WRITE_DISABLED_CAP = TRUE
|
|
|
|
WRITE_ENABLED_CAP = TRUE
|
|
|
|
WRITE_STATUS = TRUE
|
|
|
|
WRITE_LOCK_CAP = TRUE
|
|
|
|
WRITE_LOCK_STATUS = TRUE
|
|
|
|
READ_DISABLED_CAP = TRUE
|
|
|
|
READ_ENABLED_CAP = TRUE
|
|
|
|
READ_STATUS = TRUE
|
|
|
|
READ_LOCK_CAP = TRUE
|
|
|
|
READ_LOCK_STATUS = TRUE
|
2009-03-10 10:27:59 +01:00
|
|
|
FvNameGuid = 6D99E806-3D38-42c2-A095-5F4300BFD7DC
|
2007-07-03 05:10:14 +02:00
|
|
|
|
2007-11-30 10:25:57 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# The INF statements point to EDK component and EDK II module INF files, which will be placed into this FV image.
|
|
|
|
# Parsing tools will scan the INF file to determine the type of component or module.
|
|
|
|
# The component or module type is used to reference the standard rules
|
|
|
|
# defined elsewhere in the FDF file.
|
|
|
|
#
|
|
|
|
# The format for INF statements is:
|
|
|
|
# INF $(PathAndInfFileName)
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
##
|
|
|
|
# PEI Phase modules
|
|
|
|
##
|
|
|
|
##
|
|
|
|
# PEI Apriori file example, more PEIM module added later.
|
|
|
|
##
|
|
|
|
APRIORI PEI {
|
|
|
|
INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
2009-04-27 11:16:55 +02:00
|
|
|
INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
2007-10-15 13:17:01 +02:00
|
|
|
}
|
2007-11-30 10:25:57 +01:00
|
|
|
APRIORI DXE {
|
|
|
|
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
|
|
|
INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
|
2007-10-19 14:02:31 +02:00
|
|
|
}
|
2007-10-15 13:17:01 +02:00
|
|
|
|
2007-11-30 10:25:57 +01:00
|
|
|
INF MdeModulePkg/Core/Pei/PeiMain.inf
|
|
|
|
INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
2009-04-27 11:16:55 +02:00
|
|
|
INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
2007-11-30 10:25:57 +01:00
|
|
|
INF Nt32Pkg/BootModePei/BootModePei.inf
|
|
|
|
INF Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
|
|
|
|
INF Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
|
|
|
|
INF Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
|
2008-02-29 19:24:43 +01:00
|
|
|
INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
2007-11-30 10:25:57 +01:00
|
|
|
INF Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
|
|
|
|
INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
2007-07-16 08:38:10 +02:00
|
|
|
|
2007-11-30 10:25:57 +01:00
|
|
|
##
|
|
|
|
# DXE Phase modules
|
|
|
|
##
|
|
|
|
INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
|
|
|
INF Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
|
|
|
|
INF Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
|
|
|
INF Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
|
|
|
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
|
|
|
INF Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
|
|
|
INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
2008-01-21 15:42:45 +01:00
|
|
|
INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
|
|
|
|
INF Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
|
2009-01-23 08:26:59 +01:00
|
|
|
INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
2009-03-04 02:31:34 +01:00
|
|
|
INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf
|
|
|
|
INF Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
|
|
|
|
INF Nt32Pkg/TimerDxe/TimerDxe.inf
|
2009-04-27 08:46:57 +02:00
|
|
|
INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
2009-03-20 08:53:09 +01:00
|
|
|
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
2008-01-21 15:42:45 +01:00
|
|
|
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
2009-02-23 04:20:29 +01:00
|
|
|
INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
2009-03-11 04:06:25 +01:00
|
|
|
INF RuleOverride = TIANOCOMPRESSED MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
2009-07-09 07:48:35 +02:00
|
|
|
INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
|
|
|
INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
2007-08-17 23:04:53 +02:00
|
|
|
INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
|
|
|
INF Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf
|
|
|
|
INF Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
|
|
|
|
INF Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
|
|
|
|
INF Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
|
|
|
|
INF Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
|
2009-02-24 16:37:53 +01:00
|
|
|
INF MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
|
2009-04-13 08:24:36 +02:00
|
|
|
INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
|
2007-07-03 11:10:26 +02:00
|
|
|
|
2009-02-27 06:35:08 +01:00
|
|
|
INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
|
|
|
INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
|
|
|
INF Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
|
2009-09-03 11:09:58 +02:00
|
|
|
INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
2009-02-27 06:35:08 +01:00
|
|
|
INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
2007-07-03 11:10:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2007-07-16 08:38:10 +02:00
|
|
|
# FILE statements are provided so that a platform integrator can include
|
|
|
|
# complete EFI FFS files, as well as a method for constructing FFS files
|
|
|
|
# using curly "{}" brace scoping. The following three FILEs are
|
2007-07-03 11:10:26 +02:00
|
|
|
# for binary shell, binary fat and logo module.
|
|
|
|
#
|
|
|
|
################################################################################
|
2009-07-09 07:48:35 +02:00
|
|
|
FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {
|
|
|
|
SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi
|
2007-07-06 16:56:41 +02:00
|
|
|
}
|
2008-09-09 04:53:35 +02:00
|
|
|
|
2007-11-30 10:25:57 +01:00
|
|
|
FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {
|
2008-09-09 04:53:35 +02:00
|
|
|
SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
|
2007-11-30 10:25:57 +01:00
|
|
|
}
|
2008-09-09 04:53:35 +02:00
|
|
|
|
2009-07-09 07:48:35 +02:00
|
|
|
FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
2008-09-09 04:53:35 +02:00
|
|
|
SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
2007-11-30 10:25:57 +01:00
|
|
|
}
|
|
|
|
|
2007-07-03 11:10:26 +02:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
2007-08-17 08:57:21 +02:00
|
|
|
# Rules are use with the [FV] section's module INF type to define
|
2007-07-03 11:10:26 +02:00
|
|
|
# how an FFS file is created for a given INF file. The following Rule are the default
|
|
|
|
# rules for the different module type. User can add the customized rules to define the
|
|
|
|
# content of the FFS file.
|
|
|
|
#
|
|
|
|
################################################################################
|
2007-08-16 23:47:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
|
|
|
|
############################################################################
|
|
|
|
#
|
|
|
|
#[Rule.Common.DXE_DRIVER]
|
2007-09-10 07:46:12 +02:00
|
|
|
# FILE DRIVER = $(NAMED_GUID) {
|
|
|
|
# DXE_DEPEX DXE_DEPEX Optional |.depex
|
2007-08-16 23:47:44 +02:00
|
|
|
# COMPRESS PI_STD {
|
|
|
|
# GUIDED {
|
2007-09-10 07:46:12 +02:00
|
|
|
# PE32 PE32 |.efi
|
|
|
|
# UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-08-16 23:47:44 +02:00
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2007-07-03 05:10:14 +02:00
|
|
|
[Rule.Common.PEI_CORE]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE PEI_CORE = $(NAMED_GUID) {
|
2009-10-02 01:44:00 +02:00
|
|
|
PE32 PE32 Align=4K |.efi
|
2007-09-10 07:46:12 +02:00
|
|
|
UI STRING ="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[Rule.Common.PEIM]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE PEIM = $(NAMED_GUID) {
|
2007-09-10 07:46:12 +02:00
|
|
|
PEI_DEPEX PEI_DEPEX Optional |.depex
|
2009-10-02 01:44:00 +02:00
|
|
|
PE32 PE32 Align=4K |.efi
|
2007-09-10 07:46:12 +02:00
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|
2007-07-03 05:10:14 +02:00
|
|
|
|
|
|
|
[Rule.Common.DXE_CORE]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE DXE_CORE = $(NAMED_GUID) {
|
2007-07-03 05:10:14 +02:00
|
|
|
COMPRESS PI_STD {
|
2009-10-02 01:44:00 +02:00
|
|
|
PE32 PE32 |.efi
|
2007-09-10 07:46:12 +02:00
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[Rule.Common.UEFI_DRIVER]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE DRIVER = $(NAMED_GUID) {
|
2007-09-10 07:46:12 +02:00
|
|
|
DXE_DEPEX DXE_DEPEX Optional |.depex
|
2007-07-03 05:10:14 +02:00
|
|
|
COMPRESS PI_STD {
|
|
|
|
GUIDED {
|
2007-09-10 07:46:12 +02:00
|
|
|
PE32 PE32 |.efi
|
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
2009-03-11 04:06:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[Rule.Common.UEFI_DRIVER.TIANOCOMPRESSED]
|
|
|
|
FILE DRIVER = $(NAMED_GUID) {
|
|
|
|
DXE_DEPEX DXE_DEPEX Optional |.depex
|
|
|
|
GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
|
|
|
|
PE32 PE32 |.efi
|
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|
2007-07-03 05:10:14 +02:00
|
|
|
|
|
|
|
[Rule.Common.DXE_DRIVER]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE DRIVER = $(NAMED_GUID) {
|
2007-09-10 07:46:12 +02:00
|
|
|
DXE_DEPEX DXE_DEPEX Optional |.depex
|
2007-07-03 05:10:14 +02:00
|
|
|
COMPRESS PI_STD {
|
|
|
|
GUIDED {
|
2007-09-10 07:46:12 +02:00
|
|
|
PE32 PE32 |.efi
|
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
}
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|
2007-07-03 05:10:14 +02:00
|
|
|
|
|
|
|
[Rule.Common.DXE_RUNTIME_DRIVER]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE DRIVER = $(NAMED_GUID) {
|
2007-09-10 07:46:12 +02:00
|
|
|
DXE_DEPEX DXE_DEPEX Optional |.depex
|
2007-07-03 05:10:14 +02:00
|
|
|
COMPRESS PI_STD {
|
|
|
|
GUIDED {
|
2007-09-10 07:46:12 +02:00
|
|
|
PE32 PE32 |.efi
|
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
}
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|
2007-07-03 05:10:14 +02:00
|
|
|
|
|
|
|
[Rule.Common.UEFI_APPLICATION]
|
2007-08-16 23:47:44 +02:00
|
|
|
FILE APPLICATION = $(NAMED_GUID) {
|
2007-07-03 05:10:14 +02:00
|
|
|
COMPRESS PI_STD {
|
|
|
|
GUIDED {
|
2007-09-10 07:46:12 +02:00
|
|
|
PE32 PE32 |.efi
|
|
|
|
UI STRING="$(MODULE_NAME)" Optional
|
|
|
|
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
2007-07-03 05:10:14 +02:00
|
|
|
}
|
|
|
|
}
|
2007-07-16 08:38:10 +02:00
|
|
|
}
|