diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-06-16 12:07:22 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-06-16 12:07:22 +0200 |
| commit | ab6deeb319cf4389f0cfd555c8aa922300065ee6 (patch) | |
| tree | 2961681065d17f971083f92cb87bf2afc910d86a /src/include | |
| parent | c1785a93ab7305e530b8c265ba230154020d0a0d (diff) | |
| download | box64-ab6deeb319cf4389f0cfd555c8aa922300065ee6.tar.gz box64-ab6deeb319cf4389f0cfd555c8aa922300065ee6.zip | |
[DYNACACHE] Added the ability to mark a maplist has having new blocks (instead of dirty block that are refreshed)
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/custommem.h | 2 | ||||
| -rw-r--r-- | src/include/dynarec_native.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index 1ff4bdcc..17acc1e9 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -33,7 +33,7 @@ size_t customGetUsableSize(void* p); typedef struct dynablock_s dynablock_t; typedef struct mmaplist_s mmaplist_t; // custom protection flag to mark Page that are Write protected for Dynarec purpose -uintptr_t AllocDynarecMap(uintptr_t x64_addr, size_t size); +uintptr_t AllocDynarecMap(uintptr_t x64_addr, size_t size, int is_new); void FreeDynarecMap(uintptr_t addr); mmaplist_t* NewMmaplist(); void DelMmaplist(mmaplist_t* list); diff --git a/src/include/dynarec_native.h b/src/include/dynarec_native.h index 74e0e05a..c5bca0a4 100644 --- a/src/include/dynarec_native.h +++ b/src/include/dynarec_native.h @@ -24,6 +24,6 @@ typedef struct instsize_s instsize_t; void addInst(instsize_t* insts, size_t* size, int x64_size, int native_size); void CancelBlock64(int need_lock); -dynablock_t* FillBlock64(uintptr_t addr, int alternate, int is32bits, int inst_max); +dynablock_t* FillBlock64(uintptr_t addr, int alternate, int is32bits, int inst_max, int is_new); #endif //__DYNAREC_ARM_H_ |