Download (INF) File Specification
Transcript
EDK INF File Specification EDK II INF File Specification APPLICATION .efi .APP EFI USER INTERFACE .ui .ui EFI VERSION .ver .ver EFI DEPENDENCY .dpx .dpx This module type is used by UEFI Applications that are compliant with the EFI 1.10 Specification or the UEFI 2.0 Specification. UEFI Applications are always unloaded when they exit. A.1.2 [sources] Section The [sources] section is used to specify the files that make up the component. Directories names are required for files existing in subdirectories of the component. All directory names are relative to the location of the INF file. Macros are allowed in the source file path. For EDK builds, each file is added to the macro of $(INC_DEPS), which can be used in a makefile dependency expression. This section will typically use one of the following section definitions: [sources] [sources.common] [sources.IA32] [sources.X64] [sources.IPF] [sources.EBC] The following example demonstrates entries in this section. [sources.common] DxeIpl.dxs DxeIpl.h DxeLoad.c [sources.Ia32] Ia32/VirtualMemory.h Ia32/VirtualMemory.c Ia32/DxeLoadFunc.c Ia32/ImageRead.c [sources.X64] X64/DxeLoadFunc.c [sources.IPF] Ipf/DxeLoadFunc.c Ipf/ImageRead.c Binary file types - EDK does not have the flexibility of EDK II, but does provide a method for specifying binary files in the [sources] section. The following lists the mapping of EDK specific binary file types to EFI sections. SEC_GUID The binary file is an EFI_SECTION_FREEFORM_SUBTYPE_GUID section. SEC_PE32 This binary is an 100 EFI_SECTION_PE32 section. March 2015 Version 1.24B