]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/DebugAgentLib.h
Update SEC Platform Information PPI according to PI 1.2 errata A.
[mirror_edk2.git] / MdeModulePkg / Include / Library / DebugAgentLib.h
CommitLineData
fe92ab29 1/** @file\r
2 Debug Agent Library provide source-level debug capability.\r
3\r
4 Copyright (c) 2010, Intel Corporation\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __DEBUG_AGENT_LIB_H__\r
16#define __DEBUG_AGENT_LIB_H__\r
17\r
18#define DEBUG_AGENT_INIT_PREMEM_SEC 1\r
19#define DEBUG_AGENT_INIT_POSTMEM_SEC 2\r
20#define DEBUG_AGENT_INIT_DXE 3\r
21#define DEBUG_AGENT_INIT_SMM 4\r
22#define DEBUG_AGENT_INIT_SMI 5\r
23\r
24/**\r
25 Initialize debug agent.\r
26\r
27 This function is used to set up debug enviroment.\r
28\r
29 @param[in] InitFlag Init flag is used to decide initialize process.\r
30 @param[in] Context Context needed according to InitFlag, it was optional.\r
31\r
32**/\r
33VOID\r
34EFIAPI\r
35InitializeDebugAgent (\r
36 IN UINT32 InitFlag,\r
37 IN VOID *Context OPTIONAL\r
38 );\r
39\r
40/**\r
41 Enable/Disable the interrupt of debug timer.\r
42\r
43 If EnableStatus is TRUE, enable the interrupt of debug timer.\r
44 If EnableStatus is FALSE, disable the interrupt of debug timer.\r
45\r
46 @param[in] EnableStatus Enable/Disable.\r
47\r
48**/\r
49VOID\r
50EFIAPI\r
51SetDebugTimerInterrupt (\r
52 IN BOOLEAN EnableStatus\r
53 );\r
54\r
55#endif\r