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.

3.7.2.1 Example Package.dsc LibraryClasses[LibraryClasses]## Basic LibraryBaseLib|MdePkg/Library/BaseLib/BaseLib.infDebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.infSynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.infCpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.infBaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.infPrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.infPcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf## Pci LibraryPciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.infPciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.infPciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf## Entry Point LibraryPeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.infUefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.infUefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf## PEI service libraryPeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.infPeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf## UEFI and DXE service libraryUefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.infDxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.infUefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.infDxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.infUefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.infUefiLib|MdePkg/Library/UefiLib/UefiLib.infDevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf## This library instance should be provide by chipset.TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.infThe library instances given above are generic ones for use in all drivers. But accordingto the module type and CPU architecture, the more suitable library instances can beadded into [LibraryClass.ARCHs.<strong>Module</strong>Type] section to override the common setting,like the following example:35

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

Saved successfully!

Ooh no, something went wrong!