]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/EbcDxe/EbcDebuggerHook.c
MdeModulePkg/EbcDxe: prepare support for EBC Debugger
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebuggerHook.c
1 /** @file
2 Contains the empty version of the EBC Debugger hooks, to be used when
3 compiling the regular EBC VM module.
4 As debugging is not needed for the standard EBC VM, all calls are left empty.
5
6 The EBC Debugger defines its own version for these calls in EbdHooks.c.
7
8 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
9 This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
13
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16
17 **/
18
19 #include <Uefi.h>
20 #include <Protocol/DebugSupport.h>
21 #include <Protocol/EbcVmTest.h>
22
23 VOID
24 EbcDebuggerHookInit (
25 IN EFI_HANDLE Handle,
26 IN EFI_DEBUG_SUPPORT_PROTOCOL *EbcDebugProtocol
27 )
28 {
29 return;
30 }
31
32 VOID
33 EbcDebuggerHookUnload (
34 VOID
35 )
36 {
37 return;
38 }
39
40 VOID
41 EbcDebuggerHookEbcUnloadImage (
42 IN EFI_HANDLE Handle
43 )
44 {
45 return;
46 }
47
48 VOID
49 EbcDebuggerHookExecuteEbcImageEntryPoint (
50 IN VM_CONTEXT *VmPtr
51 )
52 {
53 return;
54 }
55
56 VOID
57 EbcDebuggerHookEbcInterpret (
58 IN VM_CONTEXT *VmPtr
59 )
60 {
61 return;
62 }
63
64 VOID
65 EbcDebuggerHookExecuteStart (
66 IN VM_CONTEXT *VmPtr
67 )
68 {
69 return;
70 }
71
72 VOID
73 EbcDebuggerHookExecuteEnd (
74 IN VM_CONTEXT *VmPtr
75 )
76 {
77 return;
78 }
79
80 VOID
81 EbcDebuggerHookCALLStart (
82 IN VM_CONTEXT *VmPtr
83 )
84 {
85 return;
86 }
87
88 VOID
89 EbcDebuggerHookCALLEnd (
90 IN VM_CONTEXT *VmPtr
91 )
92 {
93 return;
94 }
95
96 VOID
97 EbcDebuggerHookCALLEXStart (
98 IN VM_CONTEXT *VmPtr
99 )
100 {
101 return;
102 }
103
104 VOID
105 EbcDebuggerHookCALLEXEnd (
106 IN VM_CONTEXT *VmPtr
107 )
108 {
109 return;
110 }
111
112 VOID
113 EbcDebuggerHookRETStart (
114 IN VM_CONTEXT *VmPtr
115 )
116 {
117 return;
118 }
119
120 VOID
121 EbcDebuggerHookRETEnd (
122 IN VM_CONTEXT *VmPtr
123 )
124 {
125 return;
126 }
127
128 VOID
129 EbcDebuggerHookJMPStart (
130 IN VM_CONTEXT *VmPtr
131 )
132 {
133 return;
134 }
135
136 VOID
137 EbcDebuggerHookJMPEnd (
138 IN VM_CONTEXT *VmPtr
139 )
140 {
141 return;
142 }
143
144 VOID
145 EbcDebuggerHookJMP8Start (
146 IN VM_CONTEXT *VmPtr
147 )
148 {
149 return;
150 }
151
152 VOID
153 EbcDebuggerHookJMP8End (
154 IN VM_CONTEXT *VmPtr
155 )
156 {
157 return;
158 }