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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[Defines]……ENTRY_POINT= PcdDxeInitThe prototype of the module entry point function differs according to module type.See Table 7 for details.3.5 <strong>EDK</strong> <strong>II</strong> Common Library ClassThe MdePkg provides many library classes for developing firmware components basedon the UEFI and PI specifications. These library classes are often used in moduledevelopment and detailed in the MdePkg documentation.Table 6 Commonly use library classesLibrary Name Concept DescriptionBaseLib Base Library Provides string functions, linked list functions, math functions,and CPU architecture specific functions.SynchronizationLib Synchronization Library Provides synchronization functionsPrintLib Print Library Provides services to print a formatted string to a buffer. Allcombinations of Unicode and ASC<strong>II</strong> strings are supported.BaseMemoryLib Base Memory Library Provides copy memory, fill memory, zero memory, and GUIDfunctions.MemoryAllocationLibMemory AllocationLibraryProvides services to allocate and free memory buffers of variousmemory types and alignments.DebugLib Debug Library Provides ser vices to print debug and assert messages to a debugoutput device.PostCodeLib Post Code Library Provides services to send progress/error codes to a POST card.StatusCodeLibReport Status CodeLibraryProvides services to log status code recordsIoLib I/O Library Provide services to access I/O Ports and MMIO registers.PciExpressLib PCI Express Library Provides services to access PCI Configuration Space using theMMIO PCI Express window.PciLib PCI Library Provides services to access PCI Configuration Space.TimerLib Timer Library Provides calibrated delay and performance counter services.PcdLib PCD Library Provides library services to get and set Platform ConfigurationDatabase entries.Table 7 <strong>Module</strong> Entry Point and Service Table LibrariesConceptDescriptionPEIM Entry Point LibraryUEFI Driver Entry Point LibraryUEFI Application Entry Point Library<strong>Module</strong> entry point library for PEIM.<strong>Module</strong> entry point library for UEFI drivers, DXE Drivers, DXERuntime Drivers, and DXE SMM Drivers.<strong>Module</strong> entry point library for UEFI Applications.27

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

Saved successfully!

Ooh no, something went wrong!