project64/Source/Project64-core/N64System/Recompiler/ExitInfo.h

30 lines
650 B
C++

#pragma once
#include <Project64-core/N64System/Recompiler/RegInfo.h>
#include <Project64-core/N64System/N64Types.h>
struct CExitInfo
{
enum EXIT_REASON
{
Normal = 0,
Normal_NoSysCheck = 1,
DoCPU_Action = 2,
COP1_Unuseable = 3,
DoSysCall = 4,
TLBReadMiss = 5,
TLBWriteMiss = 6,
DivByZero = 7,
ExitResetRecompCode = 8,
};
uint32_t ID;
uint32_t TargetPC;
CRegInfo ExitRegSet;
EXIT_REASON reason;
STEP_TYPE NextInstruction;
uint32_t * JumpLoc; //32bit jump
};
typedef std::list<CExitInfo> EXIT_LIST;