]>
git.proxmox.com Git - mirror_edk2.git/blob - SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugTimer.h
2 Header file for debug timer to support debug agent library implementation.
4 Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _DEBUG_TIMER_H_
10 #define _DEBUG_TIMER_H_
13 Initialize CPU local APIC timer.
15 @param[out] TimerFrequency Local APIC timer frequency returned.
16 @param[in] DumpFlag If TRUE, dump Local APIC timer's parameter.
18 @return 32-bit Local APIC timer init count.
21 InitializeDebugTimer (
22 OUT UINT32
*TimerFrequency
,
27 Check if the timer is time out.
29 @param[in] TimerCycle Timer initial count.
30 @param[in] Timer The start timer from the begin.
31 @param[in] TimeoutTicker Ticker number need time out.
33 @return TRUE Timer time out occurs.
34 @retval FALSE Timer does not time out.
41 IN UINT32 TimeoutTicker