diff options
Diffstat (limited to 'src/dynarec/rv64/dynarec_rv64_private.h')
| -rw-r--r-- | src/dynarec/rv64/dynarec_rv64_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_private.h b/src/dynarec/rv64/dynarec_rv64_private.h index 99281462..7519d99c 100644 --- a/src/dynarec/rv64/dynarec_rv64_private.h +++ b/src/dynarec/rv64/dynarec_rv64_private.h @@ -100,6 +100,8 @@ typedef struct flagcache_s { uint8_t dfnone_here;// defered flags is cleared in this opcode } flagcache_t; +typedef struct callret_s callret_t; + typedef struct instruction_rv64_s { instruction_x64_t x64; uintptr_t address; // (start) address of the riscv emitted instruction @@ -169,6 +171,8 @@ typedef struct dynarec_rv64_s { dynablock_t* dynablock; instsize_t* instsize; size_t insts_size; // size of the instruction size array (calculated) + int callret_size; // size of the array + callret_t* callrets; // arrey of callret return, with NOP / UDF depending if the block is clean or dirty uint8_t smwrite; // for strongmem model emulation uintptr_t forward; // address of the last end of code while testing forward uintptr_t forward_to; // address of the next jump to (to check if everything is ok) |