X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadTsc.c;h=89e8a0d53db239e48eb11f9a126736fabc5d1817;hp=3946ffc792117aace938bd286417f4b09661b691;hb=bb817c56c51fabe92915fe30b168b4833cb2aed9;hpb=f734a10ab104f1072f94cab66a5489e0fd8fce8a diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTsc.c b/MdePkg/Library/BaseLib/Ia32/ReadTsc.c index 3946ffc792..89e8a0d53d 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadTsc.c +++ b/MdePkg/Library/BaseLib/Ia32/ReadTsc.c @@ -1,8 +1,8 @@ /** @file AsmReadTsc function - Copyright (c) 2006 - 2007, Intel Corporation
- All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -12,11 +12,18 @@ **/ -// -// Include common header file for this module. -// + +/** + Reads the current value of Time Stamp Counter (TSC). + + Reads and returns the current value of TSC. This function is only available + on IA-32 and x64. + + @return The current value of TSC + +**/ UINT64 EFIAPI AsmReadTsc (