+++ /dev/null
-//++\r
-// Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
-// This program and the accompanying materials \r
-// are licensed and made available under the terms and conditions of the BSD License \r
-// which accompanies this distribution. The full text of the license may be found at \r
-// http://opensource.org/licenses/bsd-license.php \r
-// \r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-// \r
-// Module Name:\r
-//\r
-// PerformancePrimitives.s\r
-//\r
-// Abstract:\r
-//\r
-//\r
-// Revision History:\r
-//\r
-//--\r
-\r
-.file "PerformancePrimitives.s"\r
-\r
-#include "IpfMacro.i"\r
-\r
-//-----------------------------------------------------------------------------\r
-//++\r
-// GetTimerValue\r
-//\r
-// Implementation of CPU-based time service\r
-//\r
-// On Entry :\r
-// EFI_STATUS\r
-// GetTimerValue (\r
-// OUT UINT64 *TimerValue\r
-// )\r
-//\r
-// Return Value: \r
-// r8 = Status\r
-// r9 = 0\r
-// r10 = 0\r
-// r11 = 0\r
-// \r
-// As per static calling conventions. \r
-// \r
-//--\r
-//---------------------------------------------------------------------------\r
-PROCEDURE_ENTRY (GetTimerValue)\r
-\r
- NESTED_SETUP (1,8,0,0)\r
- mov r8 = ar.itc;;\r
- st8 [r32]= r8\r
- mov r8 = r0\r
- mov r9 = r0\r
- mov r10 = r0\r
- mov r11 = r0\r
- NESTED_RETURN\r
-\r
-PROCEDURE_EXIT (GetTimerValue)\r
-//---------------------------------------------------------------------------\r
-\r