diff options
Diffstat (limited to 'src/dynarec/dynablock_private.h')
| -rw-r--r-- | src/dynarec/dynablock_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dynarec/dynablock_private.h b/src/dynarec/dynablock_private.h index b9e5f55d..8e174a63 100644 --- a/src/dynarec/dynablock_private.h +++ b/src/dynarec/dynablock_private.h @@ -6,6 +6,11 @@ typedef struct instsize_s { unsigned char nat:4; } instsize_t; +typedef struct callret_s { + uint32_t offs:31; + uint32_t type:1; +} callret_t; + typedef struct dynablock_s { void* block; // block-sizeof(void*) == self void* actual_block; // the actual start of the block (so block-sizeof(void*)) @@ -23,6 +28,8 @@ typedef struct dynablock_s { instsize_t* instsize; void* arch; // arch dependant per inst info (can be NULL) size_t arch_size; // size of of arch dependant infos + int callret_size; // size of the array + callret_t* callrets; // array of callret return, with NOP / UDF depending if the block is clean or dirty void* jmpnext; // a branch jmpnext code when block is marked } dynablock_t; |