2 Debug Agent Library provide source-level debug capability.
4 Copyright (c) 2010, Intel Corporation
5 All rights reserved. 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_AGENT_LIB_H__
16 #define __DEBUG_AGENT_LIB_H__
18 #define DEBUG_AGENT_INIT_PREMEM_SEC 1
19 #define DEBUG_AGENT_INIT_POSTMEM_SEC 2
20 #define DEBUG_AGENT_INIT_DXE 3
21 #define DEBUG_AGENT_INIT_SMM 4
22 #define DEBUG_AGENT_INIT_SMI 5
25 Initialize debug agent.
27 This function is used to set up debug enviroment.
29 @param[in] InitFlag Init flag is used to decide initialize process.
30 @param[in] Context Context needed according to InitFlag, it was optional.
35 InitializeDebugAgent (
37 IN VOID
*Context OPTIONAL
41 Enable/Disable the interrupt of debug timer.
43 If EnableStatus is TRUE, enable the interrupt of debug timer.
44 If EnableStatus is FALSE, disable the interrupt of debug timer.
46 @param[in] EnableStatus Enable/Disable.
51 SetDebugTimerInterrupt (
52 IN BOOLEAN EnableStatus