EDK II Module Information (INF) File Specification
1 Introduction
1.1 Overview
1.2 Terms
1.3 Related Information
1.4 Target Audience
1.5 Conventions Used in this Document
2 INF Overview
2.1 Processing Overview
2.2 Information File General Rules
2.3 EDK II INF Format
2.4 [Defines] Section
2.5 [Sources] Section
2.6 [BuildOptions] Section
2.7 [Binaries] Section
2.8 [Includes] Section
2.9 [Protocols] Section
2.10 [Ppis] Section
2.11 [Guids] Section
2.12 [LibraryClasses] Section
2.13 [Packages] Section
2.14 PCD Sections
2.15 [Depex] Section
2.16 [UserExtensions] Section
3 EDK II INF File Format
3.1 General Rules
3.2 Component INF Definition
3.3 Header Section
3.4 [Defines] Section
3.5 [BuildOptions] Sections
3.6 [LibraryClasses] Sections
3.7 [Packages] Sections
3.8 PCD Sections
3.9 [Sources] Sections
3.10 [UserExtensions] Sections
3.11 [Protocols] Sections
3.12 [Ppis] Sections
3.13 [Guids] Sections
3.14 [Depex] Sections
3.15 [Binaries] Section
Appendix A EDK INF File Specification
A.1 Design Discussion
A.2 EDK File Specification
Appendix B Build Changes and Customizations
B.1 Customizing EDK Compilation for a Component
B.2 Changing Files in an EDK Library
B.3 Customizing EDK II Compilation for a Module Common Definitions
Appendix C Symbols
Appendix D Sample Driver INF Files
D.1 DiskIoDxe INF file
D.2 StatusCodeRuntimeDxe INF file
Appendix E Sample Library INF Files
E.1 PeiServicesTablePointerLib.inf
E.2 DxeCoreMemoryAllocationLib.inf
E.3 SmmCorePerformanceLib.inf
Appendix F Sample Binary INF Files
F.1 FatBinPkg/EnhancedFatDxe/Fat.inf
F.2 MdeModulePkg/Core/RuntimeDxe.inf
Appendix G Module Types
Tables
Table 1 EDK II [Defines] Section Elements
Table 2 EDK II [BuildOptions] Section Elements
Table 3 EDK II [BuildOptions] Variable Descriptions
Table 4 Macro Usages
Table 5 Predefined Command Codes
Table 6 EDK [defines] Section Elements
Table 7 EDK Component (module) Output File Extensions
Table 8 Symbol Description
Table 9 EDK II Module Types
Table 10 Module Type to Component Type Mapping
Published with GitBook
1.4 Target Audience
EDK II Module Information (INF) File Specification
Revision 1.27
1.4 Target Audience
Those performing UEFI development and support for platforms and distributable modules.
EDK II Module Information (INF) File Specification
Revision 1.27