\r
extern VM_CONTEXT *mVmPtr;\r
\r
-//\r
-// Bits of exception flags field of VM context\r
-//\r
-#define EXCEPTION_FLAG_FATAL 0x80000000 // can't continue\r
-#define EXCEPTION_FLAG_ERROR 0x40000000 // bad, but try to continue\r
-#define EXCEPTION_FLAG_WARNING 0x20000000 // harmless problem\r
-#define EXCEPTION_FLAG_NONE 0x00000000 // for normal return\r
//\r
// Flags passed to the internal create-thunks function.\r
//\r
IN UINT32 ThunkSize\r
);\r
\r
-//\r
-// The interpreter calls these when an exception is detected,\r
-// or as a periodic callback.\r
-//\r
-/**\r
- The VM interpreter calls this function when an exception is detected.\r
-\r
- @param ExceptionType Specifies the processor exception detected.\r
- @param ExceptionFlags Specifies the exception context.\r
- @param VmPtr Pointer to a VM context for passing info to the\r
- EFI debugger.\r
-\r
- @retval EFI_SUCCESS This function completed successfully.\r
-\r
-**/\r
-EFI_STATUS\r
-EbcDebugSignalException (\r
- IN EFI_EXCEPTION_TYPE ExceptionType,\r
- IN EXCEPTION_FLAGS ExceptionFlags,\r
- IN VM_CONTEXT *VmPtr\r
- );\r
-\r
//\r
// Define a constant of how often to call the debugger periodic callback\r
// function.\r