Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 1 | # This is Ebl FDF file
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 2 | #
|
hhtian | 60274cc | 2010-04-29 12:40:51 +0000 | [diff] [blame] | 3 | # Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 4 | #
|
hhtian | 60274cc | 2010-04-29 12:40:51 +0000 | [diff] [blame] | 5 | # This program and the accompanying materials
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 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
|
| 9 | #
|
| 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.
|
| 12 | #
|
| 13 |
|
| 14 | ################################################################################
|
| 15 | #
|
| 16 | # FV Section
|
| 17 | #
|
| 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
|
| 21 | # module statements.
|
| 22 | #
|
| 23 | ################################################################################
|
| 24 | [FV.FvLoad]
|
| 25 | FvAlignment = 16 #FV alignment and FV attributes setting.
|
| 26 | ERASE_POLARITY = 1
|
| 27 | MEMORY_MAPPED = TRUE
|
| 28 | STICKY_WRITE = TRUE
|
| 29 | LOCK_CAP = TRUE
|
| 30 | LOCK_STATUS = TRUE
|
| 31 | WRITE_DISABLED_CAP = TRUE
|
| 32 | WRITE_ENABLED_CAP = TRUE
|
| 33 | WRITE_STATUS = TRUE
|
| 34 | WRITE_LOCK_CAP = TRUE
|
| 35 | WRITE_LOCK_STATUS = TRUE
|
| 36 | READ_DISABLED_CAP = TRUE
|
| 37 | READ_ENABLED_CAP = TRUE
|
| 38 | READ_STATUS = TRUE
|
| 39 | READ_LOCK_CAP = TRUE
|
| 40 | READ_LOCK_STATUS = TRUE
|
| 41 |
|
| 42 | ################################################################################
|
| 43 | #
|
| 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.
|
| 48 | #
|
| 49 | # The format for INF statements is:
|
| 50 | # INF $(PathAndInfFileName)
|
| 51 | #
|
| 52 | ################################################################################
|
| 53 | INF EmbeddedPkg/Ebl/Ebl.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 54 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 55 | ################################################################################
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 56 | #
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 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.
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 61 | #
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 62 | ################################################################################
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 63 |
|
| 64 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 65 | ############################################################################
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 66 | # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 67 | ############################################################################
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 68 | #
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 69 | #[Rule.Common.DXE_DRIVER]
|
| 70 | # FILE DRIVER = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 71 | # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 72 | # COMPRESS PI_STD {
|
| 73 | # GUIDED {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 74 | # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 75 | # UI STRING="$(MODULE_NAME)" Optional
|
| 76 | # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
| 77 | # }
|
| 78 | # }
|
| 79 | # }
|
| 80 | #
|
| 81 | ############################################################################
|
| 82 |
|
| 83 | [Rule.Common.SEC]
|
| 84 | FILE SEC = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 85 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 86 | }
|
| 87 |
|
| 88 | [Rule.Common.PEI_CORE]
|
| 89 | FILE PEI_CORE = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 90 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 91 | UI STRING ="$(MODULE_NAME)" Optional
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 92 | }
|
| 93 |
|
| 94 | [Rule.Common.PEIM]
|
| 95 | FILE PEIM = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 96 | PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
|
| 97 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 98 | UI STRING="$(MODULE_NAME)" Optional
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 99 | }
|
| 100 |
|
| 101 | [Rule.Common.PEIM.TIANOCOMPRESSED]
|
| 102 | FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 103 | PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 104 | GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 105 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 106 | UI STRING="$(MODULE_NAME)" Optional
|
| 107 | }
|
| 108 | }
|
| 109 |
|
| 110 | [Rule.Common.DXE_CORE]
|
| 111 | FILE DXE_CORE = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 112 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 113 | UI STRING="$(MODULE_NAME)" Optional
|
| 114 | }
|
| 115 |
|
| 116 | [Rule.Common.UEFI_DRIVER]
|
| 117 | FILE DRIVER = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 118 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 119 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 120 | UI STRING="$(MODULE_NAME)" Optional
|
| 121 | }
|
| 122 |
|
| 123 | [Rule.Common.DXE_DRIVER]
|
| 124 | FILE DRIVER = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 125 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 126 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 127 | UI STRING="$(MODULE_NAME)" Optional
|
| 128 | }
|
| 129 |
|
| 130 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
| 131 | FILE DRIVER = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 132 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
| 133 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 134 | UI STRING="$(MODULE_NAME)" Optional
|
| 135 | }
|
| 136 |
|
| 137 | [Rule.Common.UEFI_APPLICATION]
|
| 138 | FILE APPLICATION = $(NAMED_GUID) {
|
oliviermartin | 6740ea7 | 2011-09-06 18:41:55 +0000 | [diff] [blame] | 139 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 140 | UI STRING="$(MODULE_NAME)" Optional
|
| 141 | }
|