TianoCore EDK2 master
Loading...
Searching...
No Matches
DebugAgentLib.h
Go to the documentation of this file.
1
9#ifndef __DEBUG_AGENT_LIB_H__
10#define __DEBUG_AGENT_LIB_H__
11
12#define DEBUG_AGENT_INIT_PREMEM_SEC 1
13#define DEBUG_AGENT_INIT_POSTMEM_SEC 2
14#define DEBUG_AGENT_INIT_DXE_CORE 3
15#define DEBUG_AGENT_INIT_SMM 4
16#define DEBUG_AGENT_INIT_ENTER_SMI 5
17#define DEBUG_AGENT_INIT_EXIT_SMI 6
18#define DEBUG_AGENT_INIT_S3 7
19#define DEBUG_AGENT_INIT_DXE_AP 8
20#define DEBUG_AGENT_INIT_PEI 9
21#define DEBUG_AGENT_INIT_DXE_LOAD 10
22#define DEBUG_AGENT_INIT_DXE_UNLOAD 11
23#define DEBUG_AGENT_INIT_THUNK_PEI_IA32TOX64 12
24
25//
26// Context for DEBUG_AGENT_INIT_POSTMEM_SEC
27//
28typedef struct {
29 UINTN HeapMigrateOffset;
30 UINTN StackMigrateOffset;
32
41typedef
42VOID
43(EFIAPI *DEBUG_AGENT_CONTINUE)(
44 IN VOID *Context
45 );
46
69VOID
70EFIAPI
72 IN UINT32 InitFlag,
73 IN VOID *Context OPTIONAL,
74 IN DEBUG_AGENT_CONTINUE Function OPTIONAL
75 );
76
90BOOLEAN
91EFIAPI
93 IN BOOLEAN EnableStatus
94 );
95
96#endif
UINT64 UINTN
VOID(EFIAPI * DEBUG_AGENT_CONTINUE)(IN VOID *Context)
Definition: DebugAgentLib.h:43
BOOLEAN EFIAPI SaveAndSetDebugTimerInterrupt(IN BOOLEAN EnableStatus)
VOID EFIAPI InitializeDebugAgent(IN UINT32 InitFlag, IN VOID *Context OPTIONAL, IN DEBUG_AGENT_CONTINUE Function OPTIONAL)
#define IN
Definition: Base.h:279