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