]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - EmbeddedPkg/Include/Library/DebugAgentTimerLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmbeddedPkg / Include / Library / DebugAgentTimerLib.h
... / ...
CommitLineData
1/** @file\r
2 Platform specific Debug Agent abstraction for timer used by the agent.\r
3\r
4 The timer is used by the debugger to break into a running program.\r
5\r
6 Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
7\r
8 SPDX-License-Identifier: BSD-2-Clause-Patent\r
9\r
10**/\r
11\r
12#ifndef __GDB_TIMER_LIB__\r
13#define __GDB_TIMER_LIB__\r
14\r
15/**\r
16 Setup all the hardware needed for the debug agents timer.\r
17\r
18 This function is used to set up debug environment. It may enable interrupts.\r
19\r
20**/\r
21VOID\r
22EFIAPI\r
23DebugAgentTimerIntialize (\r
24 VOID\r
25 );\r
26\r
27/**\r
28 Set the period for the debug agent timer. Zero means disable the timer.\r
29\r
30 @param[in] TimerPeriodMilliseconds Frequency of the debug agent timer.\r
31\r
32**/\r
33VOID\r
34EFIAPI\r
35DebugAgentTimerSetPeriod (\r
36 IN UINT32 TimerPeriodMilliseconds\r
37 );\r
38\r
39/**\r
40 Perform End Of Interrupt for the debug agent timer. This is called in the\r
41 interrupt handler after the interrupt has been processed.\r
42\r
43**/\r
44VOID\r
45EFIAPI\r
46DebugAgentTimerEndOfInterrupt (\r
47 VOID\r
48 );\r
49\r
50#endif\r