- Figure 2: Package Component Descriptions\r
- ========================================\r
-\r
-\r
-The NULL TimerLib instance must be selected if you desire to run your\r
-application under an emulation environment -- unless there is a supported\r
-TimerLib for that environment. For example, the InOsEmuPkg provides a\r
-DxeTimerLib which can be used for the TimerLib instance.\r
-\r
-The "boilerplate" text in StdLib.inc will automatically adjust which Timer\r
-Library is instantiated based upon whether the $(EMULATE) macro has been\r
-defined, or not.\r
-\r
- ###\r
- # Select the correct TimerLib instance depending upon whether running under\r
- # an emulation environment, or not.\r
- !ifndef $(EMULATE)\r
- # Not running in an Emulation Environment\r
- [LibraryClasses.IA32.UEFI_APPLICATION]\r
- TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r
-\r
- [LibraryClasses.X64.UEFI_APPLICATION]\r
- TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r
-\r
- [LibraryClasses.IPF.UEFI_APPLICATION]\r
- PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
- TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r