2012-12-19 09:30:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/N64System/Recompiler/RegInfo.h>
|
2016-07-06 20:14:12 +00:00
|
|
|
#include <Project64-core/N64System/N64Types.h>
|
2015-12-06 09:59:58 +00:00
|
|
|
|
2015-11-09 08:32:13 +00:00
|
|
|
struct CExitInfo
|
2010-05-30 01:54:42 +00:00
|
|
|
{
|
2016-06-27 18:13:35 +00:00
|
|
|
enum EXIT_REASON
|
|
|
|
{
|
|
|
|
Normal = 0,
|
|
|
|
Normal_NoSysCheck = 1,
|
|
|
|
DoCPU_Action = 2,
|
|
|
|
COP1_Unuseable = 3,
|
|
|
|
DoSysCall = 4,
|
|
|
|
TLBReadMiss = 5,
|
|
|
|
TLBWriteMiss = 6,
|
|
|
|
DivByZero = 7,
|
|
|
|
ExitResetRecompCode = 8,
|
|
|
|
};
|
2010-05-30 01:54:42 +00:00
|
|
|
|
2016-06-27 18:13:35 +00:00
|
|
|
uint32_t ID;
|
|
|
|
uint32_t TargetPC;
|
|
|
|
CRegInfo ExitRegSet;
|
|
|
|
EXIT_REASON reason;
|
|
|
|
STEP_TYPE NextInstruction;
|
|
|
|
uint32_t * JumpLoc; //32bit jump
|
2010-05-30 01:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef std::list<CExitInfo> EXIT_LIST;
|