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

35 lines
738 B
C
Raw Normal View History

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>
#include <Project64-core/N64System/N64Types.h>
2015-12-06 09:59:58 +00:00
class CCodeBlock;
struct CExitInfo
{
CExitInfo(CCodeBlock & CodeBlock);
enum EXIT_REASON
{
Normal = 0,
Normal_NoSysCheck = 1,
DoCPU_Action = 2,
COP1_Unuseable = 3,
DoSysCall = 4,
TLBReadMiss = 5,
TLBWriteMiss = 6,
ExitResetRecompCode = 8,
Exit_ExceptionOverflow,
};
std::string Name;
uint32_t ID;
uint32_t TargetPC;
CRegInfo ExitRegSet;
EXIT_REASON reason;
PIPELINE_STAGE PipelineStage;
uint32_t * JumpLoc; // 32-bit jump
};
typedef std::list<CExitInfo> EXIT_LIST;