| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added preliminary unit test runner (#3045) | Yang Liu | 2025-10-14 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | * Added preliminary unit test runner * Set .text section address * Added support for added custom memory regions * Move json.h to include * Display banner * Added support for custom memory data * Added the ability to include path in nasm * Print env variables | ||||
| * | [DYNAREC] Added BOX64_DYNAREC_NOHOTPAGE to disabled hotpage detection | ptitSeb | 2025-10-03 | 1 | -0/+2 |
| | | |||||
| * | [BOX32] More work on box32 memory management and threads | ptitSeb | 2025-09-10 | 1 | -0/+7 |
| | | |||||
| * | [BOX32] Some improvment to box32 memory managment and thread handling | ptitSeb | 2025-09-10 | 1 | -1/+14 |
| | | |||||
| * | [BOX32] Various small improvments on box32, mostly on memory tracking | ptitSeb | 2025-09-08 | 1 | -42/+113 |
| | | |||||
| * | [TRACE] Fixed some typos | ptitSeb | 2025-09-08 | 1 | -6/+6 |
| | | |||||
| * | [TRACE] Small improvment for memory allocator trace | ptitSeb | 2025-09-03 | 1 | -3/+5 |
| | | |||||
| * | [DYNAREC] Fine tuned DIRTY=1 settings and added 1 game profile to [RCFILE] | ptitSeb | 2025-07-19 | 1 | -1/+1 |
| | | |||||
| * | [BOX32] Simplified and improved 32bits memory management | ptitSeb | 2025-07-03 | 1 | -12/+15 |
| | | |||||
| * | [DYNAREC] Refactor hotpage detection and dynarec_dirty 1 & 2. Also adjust ↵ | ptitSeb | 2025-06-30 | 1 | -27/+117 |
| | | | | | some launcher/games flags | ||||
| * | Add `map64_customMalloc` (#2764) | Chi-Kuan Chiu | 2025-06-23 | 1 | -6/+140 |
| | | | | | | | | | | | | | | Most allocations target ~56 bytes, causing internal fragmentation in `map128_customMalloc`. Introduce `map64_customMalloc`, a 64-byte–chunk variant of `map128_customMalloc`. The new allocator uses a `uint16_t` “map” array: each bit in a 16-bit entry tracks the in-use status of one 64-byte chunk (16 chunks per map entry). The bitmap region is fixed at 256 bytes. Note that “map” here is a fast-lookup structure, distinct from the bitmap itself. All chunk- size, shift, and map-size calculations have been updated accordingly. Relates to #2740 | ||||
| * | [DYNACACHE] Introduced DynaCache for ARM64 (disabled by default) | ptitSeb | 2025-06-19 | 1 | -10/+189 |
| | | |||||
| * | [DYNACACHE] Added the ability to mark a maplist has having new blocks ↵ | ptitSeb | 2025-06-16 | 1 | -1/+3 |
| | | | | | (instead of dirty block that are refreshed) | ||||
| * | [DYNACACHE] Made the blocklist_t part of the dynarec allocated mmap, to ease ↵ | ptitSeb | 2025-06-16 | 1 | -107/+98 |
| | | | | | future serialize of the map | ||||
| * | [WOWBOX64] This should fiw wowbox64 build | ptitSeb | 2025-06-11 | 1 | -1/+1 |
| | | |||||
| * | [DYNACACHE] Dynarec memory is now part of MMpa file tracking when possible | ptitSeb | 2025-06-11 | 1 | -3/+33 |
| | | |||||
| * | Refine the naming scheme in rbtree (#2717) | Chi-Kuan Chiu | 2025-06-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Replaced all occurrences of `rb_get_righter` with `rb_get_rightmost` and `rb_get_lefter` with `rb_get_leftmost` for improved semantic clarity. Also updated related function declarations, definitions, and usage across: - rbtree.c - rbtree.h - custommem.c - dynablock.c - env.c - box64context.c | ||||
| * | [DYNAREC] Modified JumpTable slightly so 32bits and 48bits address space jmp ↵ | ptitSeb | 2025-06-08 | 1 | -14/+43 |
| | | | | | can be done with only 2 and 3 memory fetch (todo: RV64 and LA64 handling of 48bits) | ||||
| * | [TRACE] Slight better trace when running with custommem memory tracker | ptitSeb | 2025-05-19 | 1 | -3/+9 |
| | | |||||
| * | rbtree needs initialized mutexes | André Zwing | 2025-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fixed a potential deadlock on custom memory managment (mostly for Box32) | ptitSeb | 2025-05-09 | 1 | -1/+3 |
| | | |||||
| * | Try to fix some remaining regression with customme rbtree refactor (for #2600) | ptitSeb | 2025-05-05 | 1 | -1/+1 |
| | | |||||
| * | 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) | ||||