MdeModulePkg/EbcDxe: prepare support for EBC Debugger
* This patch introduces EbcDebuggerHook.c/h and inserts the required EBCDebugger references into the existing EBC source files. * With all the hooks defined to their empty version in EbcDebuggerHook.c the existing EBC VM behaviour is left unaffected. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@ -18,6 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#include "EbcInt.h"
|
||||
#include "EbcExecute.h"
|
||||
#include "EbcDebuggerHook.h"
|
||||
|
||||
//
|
||||
// Amount of space that is not used in the stack
|
||||
@ -225,6 +226,7 @@ EbcInterpret (
|
||||
//
|
||||
// Begin executing the EBC code
|
||||
//
|
||||
EbcDebuggerHookEbcInterpret (&VmContext);
|
||||
EbcExecute (&VmContext);
|
||||
|
||||
//
|
||||
@ -336,6 +338,7 @@ ExecuteEbcImageEntryPoint (
|
||||
//
|
||||
// Begin executing the EBC code
|
||||
//
|
||||
EbcDebuggerHookExecuteEbcImageEntryPoint (&VmContext);
|
||||
EbcExecute (&VmContext);
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user