2010-05-30 01:54:42 +00:00
|
|
|
class CExitInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum EXIT_REASON
|
|
|
|
{
|
|
|
|
Normal = 0,
|
|
|
|
Normal_NoSysCheck = 1,
|
|
|
|
DoCPU_Action = 2,
|
|
|
|
COP1_Unuseable = 3,
|
|
|
|
DoSysCall = 4,
|
|
|
|
TLBReadMiss = 5,
|
|
|
|
TLBWriteMiss = 6,
|
2012-09-30 13:07:00 +00:00
|
|
|
DivByZero = 7,
|
|
|
|
ExitResetRecompCode = 8,
|
2010-05-30 01:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DWORD ID;
|
|
|
|
DWORD TargetPC;
|
|
|
|
CRegInfo ExitRegSet;
|
|
|
|
EXIT_REASON reason;
|
|
|
|
STEP_TYPE NextInstruction;
|
2010-06-04 06:25:07 +00:00
|
|
|
DWORD * JumpLoc; //32bit jump
|
2010-05-30 01:54:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef std::list<CExitInfo> EXIT_LIST;
|