diff options
| author | rajdakin <rajdakin@gmail.com> | 2021-04-12 00:53:14 +0200 |
|---|---|---|
| committer | rajdakin <rajdakin@gmail.com> | 2021-04-14 13:11:51 +0200 |
| commit | 48d61351061dcf1ee3148c67d208f20bdf22a3b8 (patch) | |
| tree | 9859835d868d88cd8e151e0efd8308ac93581190 /src/include/custommem.h | |
| parent | 0d38b1cd91d4265042396d3d1dbacac2e662ba00 (diff) | |
| download | box64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.tar.gz box64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.zip | |
First pass
Diffstat (limited to 'src/include/custommem.h')
| -rw-r--r-- | src/include/custommem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index 1b86d251..bd687468 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -20,7 +20,7 @@ void customFree(void* p); typedef struct dynablock_s dynablock_t; typedef struct dynablocklist_s dynablocklist_t; // custom protection flag to mark Page that are Write protected for Dynarec purpose -uintptr_t AllocDynarecMap(dynablock_t* db, int size); +uintptr_t AllocDynarecMap(dynablock_t* db, size_t size); void FreeDynarecMap(dynablock_t* db, uintptr_t addr, uint32_t size); void addDBFromAddressRange(uintptr_t addr, uintptr_t size); @@ -60,4 +60,4 @@ void relockCustommemMutex(int locks); void init_custommem_helper(box64context_t* ctx); void fini_custommem_helper(box64context_t* ctx); -#endif //__CUSTOM_MEM__H_ \ No newline at end of file +#endif //__CUSTOM_MEM__H_ |