]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.uni
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / SecPeiDxeTimerLibCpu / SecPeiDxeTimerLibCpu.uni
CommitLineData
1ffb3e01
JJ
1// /** @file\r
2// Instance of Timer Library only using CPU resources.\r
3//\r
4// Timer Library that only uses CPU resources to provide calibrated delays\r
5// on IA-32, x64, and IPF.\r
6// Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib\r
7// in their initialization without any issues. They only have to be careful in\r
8// the implementation of runtime services and SMI handlers.\r
9// Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r
10// used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM\r
11// drivers and runtime drivers.\r
9095d37b 12//\r
1ffb3e01
JJ
13// Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC\r
14// support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.\r
15//\r
9095d37b 16// Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
1ffb3e01
JJ
17//\r
18// This program and the accompanying materials\r
19// are licensed and made available under the terms and conditions of the BSD License\r
20// which accompanies this distribution. The full text of the license may be found at\r
21// http://opensource.org/licenses/bsd-license.php.\r
22// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
23// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
24//\r
25// **/\r
26\r
27\r
28#string STR_MODULE_ABSTRACT #language en-US "Instance of Timer Library only using CPU resources"\r
29\r
30#string STR_MODULE_DESCRIPTION #language en-US "This Timer Library only uses CPU resources to provide calibrated delays on IA-32, x64, and IPF. Note: A driver of types 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 the OS, it cannot be used by SMM drivers and runtime drivers, and ACPI timer is recommended for SMM drivers and runtime drivers. Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC support is desired, the SecPeiDxeTimerLibUefiCpu library can be used."\r
31\r