3 # Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
5 # 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
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.
14 ################################################################################
18 # [FV] section is used to define what components or modules are placed within a flash
19 # device file. This section also defines order the components and modules are positioned
20 # within the image. The [FV] section consists of define statements, set statements and
23 ################################################################################
25 FvAlignment = 16 #FV alignment and FV attributes setting.
31 WRITE_DISABLED_CAP = TRUE
32 WRITE_ENABLED_CAP = TRUE
35 WRITE_LOCK_STATUS = TRUE
36 READ_DISABLED_CAP = TRUE
37 READ_ENABLED_CAP = TRUE
40 READ_LOCK_STATUS = TRUE
42 ################################################################################
44 # The INF statements point to module INF files, which will be placed into this FV image.
45 # Parsing tools will scan the INF file to determine the type of component or module.
46 # The component or module type is used to reference the standard rules
47 # defined elsewhere in the FDF file.
49 # The format for INF statements is:
50 # INF $(PathAndInfFileName)
52 ################################################################################
53 INF EmbeddedPkg/Ebl/Ebl.inf
55 ################################################################################
57 # Rules are use with the [FV] section's module INF type to define
58 # how an FFS file is created for a given INF file. The following Rule are the default
59 # rules for the different module type. User can add the customized rules to define the
60 # content of the FFS file.
62 ################################################################################
65 ############################################################################
66 # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
67 ############################################################################
69 #[Rule.Common.DXE_DRIVER]
70 # FILE DRIVER = $(NAMED_GUID) {
71 # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
74 # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
75 # UI STRING="$(MODULE_NAME)" Optional
76 # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
81 ############################################################################
84 FILE SEC = $(NAMED_GUID) {
85 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
88 [Rule.Common.PEI_CORE]
89 FILE PEI_CORE = $(NAMED_GUID) {
90 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
91 UI STRING ="$(MODULE_NAME)" Optional
95 FILE PEIM = $(NAMED_GUID) {
96 PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
97 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
98 UI STRING="$(MODULE_NAME)" Optional
101 [Rule.Common.PEIM.TIANOCOMPRESSED]
102 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
103 PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
104 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
105 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
106 UI STRING="$(MODULE_NAME)" Optional
110 [Rule.Common.DXE_CORE]
111 FILE DXE_CORE = $(NAMED_GUID) {
112 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
113 UI STRING="$(MODULE_NAME)" Optional
116 [Rule.Common.UEFI_DRIVER]
117 FILE DRIVER = $(NAMED_GUID) {
118 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
119 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
120 UI STRING="$(MODULE_NAME)" Optional
123 [Rule.Common.DXE_DRIVER]
124 FILE DRIVER = $(NAMED_GUID) {
125 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
126 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
127 UI STRING="$(MODULE_NAME)" Optional
130 [Rule.Common.DXE_RUNTIME_DRIVER]
131 FILE DRIVER = $(NAMED_GUID) {
132 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
133 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
134 UI STRING="$(MODULE_NAME)" Optional
137 [Rule.Common.UEFI_APPLICATION]
138 FILE APPLICATION = $(NAMED_GUID) {
139 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
140 UI STRING="$(MODULE_NAME)" Optional