12.07.2015 Views

EDK II Module Writer's Guide - Intel

EDK II Module Writer's Guide - Intel

EDK II Module Writer's Guide - Intel

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5BAn <strong>EDK</strong> <strong>II</strong> Package2An <strong>EDK</strong> <strong>II</strong> Package2.1 IntroductionEach <strong>EDK</strong> <strong>II</strong> Package is a container that includes a set of modules and their relateddefinitions. Each Package is an <strong>EDK</strong> <strong>II</strong> distribution unit. It can be used to manage andrelease the big project to facilitate a user's distribution and reuse. The whole projectsources can be split into different packages to reduce the release granularity. The newproject can also be made from released packages from different sources.2.1.1 <strong>EDK</strong> <strong>II</strong> PackagesA Package is a directory that organizes a group of modules with a single packagedeclaration file (DEC).<strong>EDK</strong> <strong>II</strong> provides UEFI and PI compliant packages: MdePkg, Mde<strong>Module</strong>Pkg, etc.The MdePkg contains the complete definitions in EFI1.1/UEFI2.0/UEFI2.1/PI1.0Specifications and all library classes/instances defined in <strong>EDK</strong> <strong>II</strong> MDE (<strong>Module</strong>Development Environment) Library Specification. Based solely on this package, UEFIand PI drivers can be developed.The Mde<strong>Module</strong>Pkg contains a group of cross-platform drivers that conform to UEFIand PI specification. They can be referred to when developing new UEFI and PIdrivers.Detailed information of <strong>EDK</strong> <strong>II</strong> packages can be found in <strong>EDK</strong> <strong>II</strong> User <strong>Guide</strong>, section2.2 and also in the package specification for each package.2.1.2 The Package DirectoryEach package has a unified directory structure that separate the different source files.The root directories in each package are: Include, Library, Application and Drivers.• The include directory contains all public header files exposed by this package andused by this package and other packages. Below the Include directory, sub directoriesmay be created to include Ppi, Protocol, Guid, Industry Standard and library classheader files (when these header files become public).• The library directory contains directories for each library instance moduleincluded.• The application directory contains directories for each UEFI applications moduleincluded.• The driver directory contains directories for each driver group and for each driver.7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!