View source
Author Commit Message Date Builds
76 commits behind unified.
Daniel Fort
7D_MASTER: Update needed to sync with commit 4c33f64
Alex
Patch manager: made GUI code optional (can be disabled by undefining FEATURE_PATCH_MANAGER_GUI in features.h)
Alex
arm-mcr.h: minor cleanups, non-functional: - moved _sync_caches in the old place - commented out setup_memory_region et al
Alex
Patch manager: provide a default sync_caches for targets that don't include it (minimal, installer, reboot)
Alex
Patch manager: moved sync_caches in patch.c and removed the "weak" trickery (fixes patch restoring when called from modules)
Alex
Patch manager: reworked mechanism for re-applying cache patches when needed * arm-mcr.h: clean_d_cache and flush_i_cache are now private (sync_caches is the high-level function to be used) * replaced all calls to clean_d_cache/flush_i_cache with sync_caches * should fix issues with randomly "disappearing" cache patches * to be tested for performance issues etc
Alex
Modules: patch.h no longer needed
Alex
Patch manager: nicer way to avoid calling _reapply_cache_patches when not present (fixes compiling the installer target and removes the need for defining NO_CACHE_PATCHES)
Alex
Merged unified into patchmgr
Alex
Patch manager: moved reapply_cache_patches into sync_caches also made it private
Alex
Merged unified into patchmgr
Alex
reloc: allow up to 16 fixups; fix stop condition
Alex
reloc: handle PC-relative add (ADR) (also updated sign handling in LDR, for consistency)
Alex
patchmgr: fix bad merge in reloc.c (52b733594b2e)
Alex
Patch manager: ensure valid menu name for all entries
Alex
patch.c: fix warning
Alex
Merged unified into patchmgr
Alex
Patch manager: with CONFIG_QEMU, simply patch as if writing to RAM (and ignore cache issues)
Alex
Patch manager: use const char * for patch_hook_function's description
Alex
Merged unified into patchmgr
Alex
Merged unified into patchmgr
Alex
Patch manager: fix lockup on VxWorks models, thanks Ant123
Alex
Patch manager: PATCH_HOOK_OUT_REGS is not needed
Alex
Patch manager: save/restore CPSR flags for logging hooks
Alex
Patch manager: minor refactoring to remove some hardcoded offsets from logging hooks code
Alex
Patch manager: refactored logging hooks code (nonfunctional, less verbose)
Alex
Patch manager: better check for jump ranges
Alex
Patch manager: use long jump for the logging function (so it can be used from modules on cameras that load them on RscMgr)
Alex
Patch manager: check jump ranges before installing logging hooks
Alex
Patch manager: minor fix (braces in macro)
Alex
merged unified into patchmgr
Alex
reloc.c: fix bad merge
Alex
Patch manager: fix compilation on cameras that use reloc.c
Alex
patch.h: added PATCH_HOOK_OUT_REGS (for overriding registers in the original function)
Alex
Patch manager: check for too many patches
Alex
Patch manager: fix crash with unpatch_memory_matrix (easy to reproduce with ettr + dual iso)
Alex
Patch manager: re-applied 654b09f (got lost during refactoring)
Alex
Merged unified into patchmgr
Alex
raw_rec/mlv_rec: updated with patch_instruction
Alex
Patch manager: everything back to patch.c
Alex
Patch manager: added matrix patches into patch-simple.c (so now it's quite far from simple, but this gives a clean diff)
Alex
Patch manager: renames to prepare merging both patch types in a single file
Alex
Patch manager: fix error display in menu, when ROM patches are active
Alex
Patch manager: print all errors to console when in debug mode
Alex
Patch manager: human-readable errors
Alex
Patch manager: fine-tuned error codes
Alex
Merged unified into patchmgr
Alex
Patch manager: fix relocation of LDR Rn, [PC, #negative_offset]
Alex
Patch manager: allow up to 32 logging hooks
Alex
reloc.c: fix compilation
Alex
Patch manager: updated comments
Alex
Patch manager: handle PC-relative LDRs in logging hooks (adapted from reloc.c)
Alex
Patch manager: experimental logging hooks (similar to GDB hooks, but lighter), credits Maqs
Alex
Patch manager: when removing a cache patch, unlock the cache and re-apply the remaining ones from scratch (slower, but should no longer give collisions for old patches that are no longer applied)
Alex
Patch manager: fixed some 5D2 cache sync quirks, and refactored
Alex
Patch manager: minor cleanups
Alex
Patch manager: minor menu tweak
Alex
modules.c/reloc.c: after syncing caches, also reapply cache patches, if any
Alex
Merged unified into patchmgr
Alex
Patch manager: warning fix
Alex
Patch manager: disable cache lockdown after some delay (fixes flood of cache enabling/disabling when used with one ROM watchpoint)
Alex
Patch manager: also check for errors when re-applying cache patches
Alex
Patch manager: check if cache patching actually worked
Alex
cache_hacks: workaround for bad index size detection (fixme)
Alex
Patch manager: check for cache collisions
Alex
Patch manager: separate the code for matrix patching vs single memory patching (some duplicate code, but easier to read) - WIP
Alex
GDB hooks: no more lock-up with ADTG GUI!
Alex
Patch manager: experimental support for patching instructions (including RAM ones) and re-applying the ROM (cache) patches
Alex
cache_hacks, cache_is_patchable: added option to get current cached value
Alex
Patch manager: re-applied b3d6c7a2df41 and 2f8f31bf6421 (let's give it another chance)
Alex
Patch manager: undo b3d6c7a2df41 and 2f8f31bf6421 (too slow for adtg_gui)
Alex
Fix bad merge
Alex
Merged unified into patchmgr