| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed an issue with custom memory when a map is created for an blockstree ↵ | ptitSeb | 2025-04-20 | 1 | -22/+52 |
| | | | | | node, avoiding re-entrance on blockstree handling and tree corruption | ||||
| * | Merge `mmapmem` into `mapallmem` (#2550) | Chi-Kuan Chiu | 2025-04-20 | 1 | -22/+28 |
| | | | | | | | | | | | | | | | | This commit removes the separate `mmapmem` red-black tree and merges its into `mapallmem`, reducing overall memory usage. To distinguish memory regions that were previously tracked separately in `mmapmem`, we now use a new `mem_flag_t` bitmask enum in the data field of `mapallmem`: MEM_ALLOCATED = 1 // allocated MEM_RESERVED = 2 // reserved MEM_MMAP = 3 // allocated via mmap() Resolves #2546 | ||||
| * | [DYNAREC] Better dynablock mempry handling, and fixed a regression ↵ | ptitSeb | 2025-04-18 | 1 | -7/+7 |
| | | | | | introduced when improving dynmem rbtree | ||||
| * | [WOW64] Finished skeleton code for PE build (#2542) | Yang Liu | 2025-04-17 | 1 | -1/+1 |
| | | | | | | * [WOW64] Finished skeleton code for PE build * move musl to external | ||||
| * | [DYNAREC] Speedup a bit DYNAREC_DIRTY=1 | ptitSeb | 2025-04-10 | 1 | -1/+1 |
| | | |||||
| * | [WOW64] More tweaks towards PE build (#2519) | Yang Liu | 2025-04-10 | 1 | -30/+8 |
| | | |||||
| * | Reduced usage of the rbtree in FindDynablockFromAddress by creating node ↵ | ptitSeb | 2025-04-09 | 1 | -4/+20 |
| | | | | | only on first query (in response to #2511 analysis) | ||||
| * | Made custommem OS-independent (#2517) | Yang Liu | 2025-04-09 | 1 | -7/+2 |
| | | |||||
| * | Added backtrace.h for holding backtrace-related functions (#2515) | Yang Liu | 2025-04-09 | 1 | -3/+3 |
| | | |||||
| * | [WOW64] Add wow64 PE build scaffolding (#2513) | Yang Liu | 2025-04-08 | 1 | -65/+34 |
| | | |||||
| * | Moved more OS-dependent functions to os.h (#2491) | Yang Liu | 2025-04-01 | 1 | -0/+1 |
| | | |||||
| * | [DEBUG] Fixed debug tool testAllBlocks() to correctly handle new map128 ↵ | ptitSeb | 2025-03-31 | 1 | -5/+12 |
| | | | | | custom alloc | ||||
| * | Optimized and fixed custom 128bytes allocator | ptitSeb | 2025-03-30 | 1 | -2/+7 |
| | | |||||
| * | Introduced a bitmap based allocator for <= 128bits customMalloc (not ↵ | ptitSeb | 2025-03-30 | 1 | -38/+167 |
| | | | | | lockfree yet) | ||||
| * | [BOX32] Small change on memory managment again | ptitSeb | 2025-03-18 | 1 | -34/+6 |
| | | |||||
| * | This should fix non-Dynarec build | ptitSeb | 2025-03-17 | 1 | -26/+26 |
| | | |||||
| * | [BOX32] Small refactor on memory managment | ptitSeb | 2025-03-17 | 1 | -30/+58 |
| | | |||||
| * | [DYNAREC] Introduced DYNAREC_DIRTY=2 and changed a profile to use it | ptitSeb | 2025-03-12 | 1 | -2/+48 |
| | | |||||
| * | [DYNAREC] Reduced lifetime of hotpage when using DIRTY=1 | ptitSeb | 2025-03-10 | 1 | -1/+1 |
| | | |||||
| * | [DYNAREC] Fixed some potential issue with NEVERCLEAN on memory mapping tracking | ptitSeb | 2025-03-09 | 1 | -2/+3 |
| | | |||||
| * | Removed isDBFromAddressRange and added that function to ↵ | ptitSeb | 2025-03-07 | 1 | -20/+5 |
| | | | | | cleanDBFromAddressRange as it was used only 1 time and followed by that function anyway | ||||
| * | [DYNAREC] Fixed a potential SEGFAULT in FindDynablockFromNativeAddress, and ↵ | ptitSeb | 2025-02-05 | 1 | -2/+4 |
| | | | | | added aprofile for BeamNG.drive linux version (for #424) | ||||
| * | [DYNAREC] Small change on DIRTY=1 to reduce hotpage effect | ptitSeb | 2025-01-27 | 1 | -1/+2 |
| | | |||||
| * | Added [BOX64] prefix for all the stdout logs (#2279) | Yang Liu | 2025-01-21 | 1 | -7/+7 |
| | | | | | | | | * Added [BOX64] prefix for all the stdout logs * Remove some hardcoded prefix * review | ||||
| * | [ENV] Initial refactor of env variables infrastructure (#2274) | Yang Liu | 2025-01-21 | 1 | -18/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ENV] Initial refactor of env variables infrastructure * Ported BOX64_DYNAREC_LOG * Ported more options * Ported BOX64_MALLOC_HACK * Ported BOX64_DYNAREC_TEST * Ported more options * Ported more options * Ported more options * Ported all options * Removed old rcfile parser * Fix * review * fix * fix * more fixes | ||||
| * | Don't try to use free a custom block if init is not done | ptitSeb | 2025-01-10 | 1 | -1/+1 |
| | | |||||
| * | Small fix to program break tracking | ptitSeb | 2025-01-07 | 1 | -1/+1 |
| | | |||||
| * | Trace program program to not allocate memory over there (help ↵ | ptitSeb | 2025-01-07 | 1 | -0/+20 |
| | | | | | TalosPrinciple2, probably other UE5 games too) | ||||
| * | [DYNAREC] Some light rework of the hotpage handling | ptitSeb | 2024-12-23 | 1 | -4/+21 |
| | | |||||
| * | Added more rbtrees in dynarec managment, to speedup ↵ | ptitSeb | 2024-12-23 | 1 | -57/+42 |
| | | | | | FindDynablockFromNativeAddress function | ||||
| * | Fix build for older system (for #2190) | ptitSeb | 2024-12-23 | 1 | -0/+6 |
| | | |||||
| * | Improved memory tracking and 32bits memory allocation | ptitSeb | 2024-12-21 | 1 | -6/+92 |
| | | |||||
| * | Changed customme block resize to lower the number of realloc | ptitSeb | 2024-12-21 | 1 | -1/+1 |
| | | |||||
| * | [BOX32] Improved pre-reserve highmem, and use that memory for dynablocks | ptitSeb | 2024-12-17 | 1 | -2/+10 |
| | | |||||
| * | Added a new memExist helper function and use it instead of getMmapped were ↵ | ptitSeb | 2024-11-30 | 1 | -0/+6 |
| | | | | | it make sense | ||||
| * | [DYNAREC] Mark existing block as dirty when re-creating a memory block | ptitSeb | 2024-11-17 | 1 | -2/+11 |
| | | |||||
| * | [DYNAREC] Only test page protection when needed (and using a fester way) ↵ | ptitSeb | 2024-11-09 | 1 | -0/+10 |
| | | | | | (should address the performance regression of #2009) | ||||
| * | [RBTREE] Unify naming and prevent unintended symbol exposure (#2005) | Jim Huang | 2024-11-06 | 1 | -12/+12 |
| | | | | | | Red-black tree operations now consistently use the 'rbtree_' prefix, and internal functions remain unexposed. Tested on RV64GC, resulting in a 498-byte reduction in the .text section size. | ||||
| * | Improve handling of memory protection, and excution bit | ptitSeb | 2024-11-04 | 1 | -3/+7 |
| | | |||||
| * | [BOX32] Fixed some X11 function so wine launch (and added BOX64_X11SYNC to ↵ | ptitSeb | 2024-10-08 | 1 | -1/+10 |
| | | | | | help debug X11 programs) | ||||
| * | Improve debugging trace of rb_tree | ptitSeb | 2024-10-08 | 1 | -4/+4 |
| | | |||||
| * | [BOX32][DYNAREC] Allocate Dynarec memory in higher prereserve regions | ptitSeb | 2024-10-08 | 1 | -2/+31 |
| | | |||||
| * | Removed wine prereserve hack on munmap now that prereserve is better handled | ptitSeb | 2024-10-08 | 1 | -5/+2 |
| | | |||||
| * | Small adjustment in 32bits custom memory hinter | ptitSeb | 2024-10-08 | 1 | -1/+1 |
| | | |||||
| * | Small change in custom Aligned Memory Allocator | ptitSeb | 2024-10-07 | 1 | -2/+3 |
| | | |||||
| * | Some cosmetic changes and more macro, to ease future testings on custom malloc | ptitSeb | 2024-10-07 | 1 | -1/+1 |
| | | |||||
| * | Reworked mmap allocator and wine prereserve handling ([BOX32] fix handling ↵ | ptitSeb | 2024-10-07 | 1 | -1/+3 |
| | | | | | of wine prereserve) | ||||
| * | [BOX32] Added more 32bits wrapped function and reworked 32bits memory allocator | ptitSeb | 2024-10-03 | 1 | -5/+19 |
| | | |||||
| * | [BOX32] Keep low memory free by default | ptitSeb | 2024-09-30 | 1 | -1/+1 |
| | | |||||
| * | [ANDROID][BOX32] Fix __libc_init, Fix Some Warnings (#1887) | Pablo Labs | 2024-09-29 | 1 | -6/+11 |
| | | | | | | | | * [ANDROID][BOX32] Fix __libc_init, Fix Some Warnings * Fix More Warnings * Revert fillALProcWrapper() change | ||||