]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c
Add the beginning of a GDB based Debug Agent. IA-32 and X64 don't have low level...
[mirror_edk2.git] / EmbeddedPkg / Library / DebugAgentTimerLibNull / DebugAgentTimerLib.c
CommitLineData
969eba7b 1/** @file\r
2 Null Debug Agent timer.\r
3\r
4 The debug agent uses the timer so the debugger can break into running programs.\r
5 If you link against this library you will not be able to break into a running\r
6 program with the debugger.\r
7\r
8 Copyright (c) 2008-2010, Apple Inc. All rights reserved.\r
9 \r
10 All rights reserved. This program and the accompanying materials\r
11 are licensed and made available under the terms and conditions of the BSD License\r
12 which accompanies this distribution. The full text of the license may be found at\r
13 http://opensource.org/licenses/bsd-license.php\r
14\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17\r
18**/\r
19\r
20\r
21/**\r
22 Setup all the hardware needed for the debug agents timer.\r
23\r
24 This function is used to set up debug enviroment. It may enable interrupts.\r
25\r
26**/\r
27VOID\r
28EFIAPI\r
29DebugAgentTimerIntialize (\r
30 VOID\r
31 )\r
32{\r
33}\r
34 \r
35 \r
36/**\r
37 Set the period for the debug agent timer. Zero means disable the timer.\r
38\r
39 @param[in] TimerPeriodMilliseconds Frequency of the debug agent timer.\r
40\r
41**/ \r
42VOID\r
43EFIAPI\r
44DebugAgentTimerSetPeriod (\r
45 IN UINT32 TimerPeriodMilliseconds\r
46 )\r
47{\r
48}\r
49 \r
50\r
51/**\r
52 Perform End Of Interrupt for the debug agent timer. This is called in the \r
53 interrupt handler after the interrupt has been processed. \r
54\r
55**/ \r
56VOID\r
57EFIAPI\r
58DebugAgentTimerEndOfInterrupt (\r
59 VOID\r
60 )\r
61{\r
62}\r
63 \r
64