]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Ia32/PerformancePrimitives.c
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / EfiDriverLib / Ia32 / PerformancePrimitives.c
1 /*++
2
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 PerformancePrimitives.c
15
16 Abstract:
17
18 Support for Performance library
19
20 --*/
21
22 #include "TianoCommon.h"
23 #include "CpuIA32.h"
24
25 EFI_STATUS
26 GetTimerValue (
27 OUT UINT64 *TimerValue
28 )
29 /*++
30
31 Routine Description:
32
33 Set TimerValue with current tick.
34
35 Arguments:
36
37 TimerValue - Timer value to be set
38
39 Returns:
40
41 EFI_SUCCESS - TimerValue is set.
42
43 --*/
44 {
45 *TimerValue = EfiReadTsc ();
46 return EFI_SUCCESS;
47 }