TianoCore EDK2 master
Loading...
Searching...
No Matches
EbcSimpleDebugger.h
Go to the documentation of this file.
1
10#ifndef _EBC_SIMPLE_DEBUGGER_PROTOCOL_H_
11#define _EBC_SIMPLE_DEBUGGER_PROTOCOL_H_
12
14#include <Protocol/EbcVmTest.h>
15
16#define EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL_GUID \
17 { \
18 0x2a72d11e, 0x7376, 0x40f6, { 0x9c, 0x68, 0x23, 0xfa, 0x2f, 0xe3, 0x63, 0xf1 } \
19 }
20
21//
22// Defines for a simple EBC debugger interface
23//
25
37typedef
41 IN VM_CONTEXT *VmPtr,
42 IN EFI_EXCEPTION_TYPE ExceptionType
43 );
44
55typedef
56VOID
57(EFIAPI *EBC_DEBUGGER_DEBUG)(
59 IN VM_CONTEXT *VmPtr
60 );
61
74typedef
75UINT32
76(EFIAPI *EBC_DEBUGGER_DASM)(
78 IN VM_CONTEXT *VmPtr,
79 IN UINT16 *DasmString OPTIONAL,
80 IN UINT32 DasmStringSize
81 );
82
97typedef
101 IN UINT32 ConfigId,
102 IN UINTN ConfigValue
103 );
104
105//
106// Prototype for the actual EBC debug support protocol interface
107//
109 EBC_DEBUGGER_DEBUG Debugger;
110 EBC_DEBUGGER_SIGNAL_EXCEPTION SignalException;
112 EBC_DEBUGGER_CONFIGURE Configure;
113};
114
115extern EFI_GUID gEfiEbcSimpleDebuggerProtocolGuid;
116
117#endif
UINT64 UINTN
VOID(EFIAPI * EBC_DEBUGGER_DEBUG)(IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL *This, IN VM_CONTEXT *VmPtr)
UINT32(EFIAPI * EBC_DEBUGGER_DASM)(IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL *This, IN VM_CONTEXT *VmPtr, IN UINT16 *DasmString OPTIONAL, IN UINT32 DasmStringSize)
EFI_STATUS(EFIAPI * EBC_DEBUGGER_CONFIGURE)(IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL *This, IN UINT32 ConfigId, IN UINTN ConfigValue)
EFI_STATUS(EFIAPI * EBC_DEBUGGER_SIGNAL_EXCEPTION)(IN EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL *This, IN VM_CONTEXT *VmPtr, IN EFI_EXCEPTION_TYPE ExceptionType)
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
INTN EFI_EXCEPTION_TYPE
Definition: DebugSupport.h:35
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213