Updated to support passing PE/COFF and LZMA decompress up via HOBS. Currently turned...
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.fdf
CommitLineData
2ef2b01e
A
1# This is Ebl FDF file \r
2#\r
3# Copyright (c) 2008, Intel Corporation\r
4#\r
5# All rights reserved. This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13\r
14################################################################################\r
15#\r
16# FV Section\r
17#\r
18# [FV] section is used to define what components or modules are placed within a flash\r
19# device file. This section also defines order the components and modules are positioned\r
20# within the image. The [FV] section consists of define statements, set statements and\r
21# module statements.\r
22#\r
23################################################################################\r
24[FV.FvLoad]\r
25FvAlignment = 16 #FV alignment and FV attributes setting.\r
26ERASE_POLARITY = 1\r
27MEMORY_MAPPED = TRUE\r
28STICKY_WRITE = TRUE\r
29LOCK_CAP = TRUE\r
30LOCK_STATUS = TRUE\r
31WRITE_DISABLED_CAP = TRUE\r
32WRITE_ENABLED_CAP = TRUE\r
33WRITE_STATUS = TRUE\r
34WRITE_LOCK_CAP = TRUE\r
35WRITE_LOCK_STATUS = TRUE\r
36READ_DISABLED_CAP = TRUE\r
37READ_ENABLED_CAP = TRUE\r
38READ_STATUS = TRUE\r
39READ_LOCK_CAP = TRUE\r
40READ_LOCK_STATUS = TRUE\r
41\r
42################################################################################\r
43#\r
44# The INF statements point to module INF files, which will be placed into this FV image.\r
45# Parsing tools will scan the INF file to determine the type of component or module.\r
46# The component or module type is used to reference the standard rules\r
47# defined elsewhere in the FDF file.\r
48#\r
49# The format for INF statements is:\r
50# INF $(PathAndInfFileName)\r
51#\r
52################################################################################\r
53INF EmbeddedPkg/Ebl/Ebl.inf\r
54 \r
55################################################################################\r
56# \r
57# Rules are use with the [FV] section's module INF type to define\r
58# how an FFS file is created for a given INF file. The following Rule are the default\r
59# rules for the different module type. User can add the customized rules to define the\r
60# content of the FFS file.\r
61# \r
62################################################################################\r
63 \r
64 \r
65############################################################################\r
66# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section # \r
67############################################################################\r
68# \r
69#[Rule.Common.DXE_DRIVER]\r
70# FILE DRIVER = $(NAMED_GUID) {\r
71# DXE_DEPEX DXE_DEPEX Optional |.depex\r
72# COMPRESS PI_STD {\r
73# GUIDED {\r
74# PE32 PE32 |.efi\r
75# UI STRING="$(MODULE_NAME)" Optional\r
76# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
77# }\r
78# }\r
79# }\r
80#\r
81############################################################################\r
82\r
83[Rule.Common.SEC]\r
84 FILE SEC = $(NAMED_GUID) {\r
85 PE32 PE32 |.efi\r
86 }\r
87\r
88[Rule.Common.PEI_CORE]\r
89 FILE PEI_CORE = $(NAMED_GUID) {\r
90 PE32 PE32 |.efi\r
91 UI STRING ="$(MODULE_NAME)" Optional \r
92 }\r
93\r
94[Rule.Common.PEIM]\r
95 FILE PEIM = $(NAMED_GUID) {\r
96 PEI_DEPEX PEI_DEPEX Optional |.depex\r
97 PE32 PE32 |.efi\r
98 UI STRING="$(MODULE_NAME)" Optional \r
99 }\r
100\r
101[Rule.Common.PEIM.TIANOCOMPRESSED]\r
102 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {\r
103 PEI_DEPEX PEI_DEPEX Optional |.depex\r
104 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {\r
105 PE32 PE32 |.efi\r
106 UI STRING="$(MODULE_NAME)" Optional\r
107 }\r
108 }\r
109\r
110[Rule.Common.DXE_CORE]\r
111 FILE DXE_CORE = $(NAMED_GUID) {\r
112 PE32 PE32 |.efi\r
113 UI STRING="$(MODULE_NAME)" Optional\r
114 }\r
115\r
116[Rule.Common.UEFI_DRIVER]\r
117 FILE DRIVER = $(NAMED_GUID) {\r
118 DXE_DEPEX DXE_DEPEX Optional |.depex\r
119 PE32 PE32 |.efi\r
120 UI STRING="$(MODULE_NAME)" Optional\r
121 }\r
122\r
123[Rule.Common.DXE_DRIVER]\r
124 FILE DRIVER = $(NAMED_GUID) {\r
125 DXE_DEPEX DXE_DEPEX Optional |.depex\r
126 PE32 PE32 |.efi\r
127 UI STRING="$(MODULE_NAME)" Optional\r
128 }\r
129\r
130[Rule.Common.DXE_RUNTIME_DRIVER]\r
131 FILE DRIVER = $(NAMED_GUID) {\r
132 DXE_DEPEX DXE_DEPEX Optional |.depex\r
133 PE32 PE32 |.efi\r
134 UI STRING="$(MODULE_NAME)" Optional\r
135 }\r
136\r
137[Rule.Common.UEFI_APPLICATION]\r
138 FILE APPLICATION = $(NAMED_GUID) {\r
139 PE32 PE32 |.efi\r
140 UI STRING="$(MODULE_NAME)" Optional\r
141 }\r