]>
git.proxmox.com Git - mirror_edk2.git/blob - SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugTimer.h
7ff0661d461474db4d0bda083d6312ad37658319
2 Header file for debug timer to support debug agent library implementation.
4 Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _DEBUG_TIMER_H_
16 #define _DEBUG_TIMER_H_
19 Initialize CPU local APIC timer.
21 @param[out] Local APIC timer frequency returned.
23 @return 32-bit Local APIC timer init count.
26 InitializeDebugTimer (
27 OUT UINT32
*TimerFrequency
31 Check if the timer is time out.
33 @param[in] TimerCycle Timer total count.
34 @param[in] Timer The start timer from the begin.
35 @param[in] TimeoutTicker Ticker number need time out.
37 @return TRUE Timer time out occurs.
38 @retval FALSE Timer does not time out.
45 IN UINT32 TimeoutTicker