]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.uni
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / UefiCpuPkg / Library / SecPeiDxeTimerLibUefiCpu / SecPeiDxeTimerLibUefiCpu.uni
1 // /** @file
2 // Instance of Timer Library only using CPU resources.
3 //
4 // Timer Library that only uses CPU resources to provide calibrated delays
5 // on IA-32, x64, and IPF.
6 // Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib
7 // in their initialization without any issues. They only have to be careful in
8 // the implementation of runtime services and SMI handlers.
9 // Because CPU Local APIC and ITC could be programmed by OS, it cannot be
10 // used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM
11 // drivers and runtime drivers.
12 //
13 // This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in
14 // that it uses the local APIC library so that it supports x2APIC mode.
15 //
16 // Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
17 //
18 // SPDX-License-Identifier: BSD-2-Clause-Patent
19 //
20 // **/
21
22
23 #string STR_MODULE_ABSTRACT #language en-US "Instance of Timer Library only using CPU resources"
24
25 #string STR_MODULE_DESCRIPTION #language en-US "Timer Library that only uses CPU resources to provide calibrated delays on IA-32, x64, and IPF. Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib in their initialization without any issues. They only have to be careful in the implementation of runtime services and SMI handlers. Because CPU Local APIC and ITC could be programmed by OS, it cannot be used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM drivers and runtime drivers. This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in that it uses the local APIC library so that it supports x2APIC mode."
26