about summary refs log tree commit diff stats
path: root/src/tools/bridge.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Decoupled alternate functions from bridge (#2500)Yang Liu2025-04-031-45/+1
|
* Moved more functions to os.h (#2497)Yang Liu2025-04-031-3/+3
| | | | | | | * Removed some unused function declarations * Moved more functions to os.h * review
* Moved more OS-dependent functions to os.h (#2491)Yang Liu2025-04-011-1/+2
|
* Some cosmetic changes to C header files (#2487)Yang Liu2025-04-011-0/+28
| | | | | * [DYNAREC] Move cosim functions to a new header * Moved isNativeCall to elfloader
* [BOX32] Change to get all created bricks to be conitgus on 32bits, as ↵ptitSeb2025-03-171-2/+8
| | | | address space is pretty small
* [BOX32] Fixed some issue with previous commit on box32 loading wine/protonptitSeb2025-01-171-1/+4
|
* Added some hack to simulate seccomp/bpf Windows syscalls handling in protonptitSeb2025-01-171-3/+7
|
* Improved memory tracking and 32bits memory allocationptitSeb2024-12-211-9/+4
|
* Added a new memExist helper function and use it instead of getMmapped were ↵ptitSeb2024-11-301-1/+1
| | | | it make sense
* [WRAPPER] More work on gtk/gstreamer wrappingptitSeb2024-11-271-0/+5
|
* [TRACE] Don't try to decode a bridge if memory is not mapped or un-readableptitSeb2024-11-201-0/+4
|
* [WRAPPER] Some rework on a few wrapped function foor glib2, libxcb and ↵ptitSeb2024-09-191-9/+12
| | | | libxcb-private
* Fixes (#1659)rajdakin2024-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replaced some tabs with spaces * Fixed some signedness warnings * Added more debug info * Fixed an improper alignment * [WRAPPEDWAYLAND] Added return statements to wrappers * [EMU] [AVX] Fixed some issues * [ARM DYNAREC] Fixed some minor warnings * [ARM DYNAREC] Removed unused macro arguments * [EMU] Fixed a noisy warning * [ARM DYNAREC] Removed "empty body" warnings * [EMU] Fixed an opcode in dynarec, non-cosim builds * [LA64 DYNAREC] Minor warning fixes * [LA64 DYNAREC] Fixed empty body warnings * [LA64 DYNAREC] Added parenthesis around assignments in if statements * [LA64 DYNAREC] Fixed missing parenthesis in macro definitions * [RV64 DYNAREC] Fixed minor warnings * [RV64 DYNAREC] Fixed wrong/missing parentheses * [WRAPPER] Fixed the WaylandClient callback signatures
* Fixed a few warning here and there...ptitSeb2024-04-131-1/+2
|
* [TRACE] slignthly better log for ExitEmulation bridgeptitSeb2024-03-101-2/+4
|
* More work on X11 wrapping, allowing gtk to run fully emulatedptitSeb2024-03-071-8/+2
|
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-1/+1
| | | | cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others)
* Made PageSize detection / Handling dynamic. nd fixed elfloading for pagesize ↵ptitSeb2024-01-311-9/+2
| | | | not 4K. The define are still there but might be removed shortly (for #1231, #1226, #1189, #1175, #999, #384 and probably a few other)
* Improved bridge name storage/retreivalptitSeb2023-12-011-34/+5
|
* Better way to track mapped memoryptitSeb2023-11-051-1/+1
|
* No actual need for emu when calling my_mmap and my_munmapptitSeb2023-10-131-4/+3
|
* Removed unused include in bridge.cptitSeb2023-09-021-1/+0
|
* Merge pull request #896 from josch/exeptitSeb2023-07-211-0/+0
|\ | | | | remove executable bits
| * remove executable bitsJohannes Schauer Marin Rodrigues2023-07-211-0/+0
| | | | | | | | Closes: #895
* | Improved BOX64_MALLOC_HACK=2 and the glAleternate mecanism (help steam & ↵ptitSeb2023-07-081-2/+2
| | | | | | | | heroic and other libcef based software)
* | [32BITS][DYNAREC] Preparing Dynarec to handle 32bits codeptitSeb2023-06-221-1/+1
|/
* [DYNAREC] Fixed vsyscall bridgeptitSeb2023-04-221-28/+9
|
* [ELFLOADER] Improved handling of Failed-to-load library (and unloading of ↵ptitSeb2023-04-101-1/+2
| | | | libs too)
* [DYNAREC] Never protect bridge memory (ported from box86)ptitSeb2023-04-021-16/+3
|
* Various minor warning fixesptitSeb2023-02-131-1/+1
|
* [DYNAREC] Use custom mutex, improved Signal while FillBlocks64 and atomic ↵ptitSeb2023-02-121-6/+6
| | | | handling
* [DYNAREC] Improved bridge handlingptitSeb2023-02-111-25/+21
|
* Refactored (again) lib init/fini mecanismptitSeb2023-01-011-0/+2
|
* [DYNAREC] More control over HotPage handling with BOX64_DYNARC_HOTPAGEptitSeb2022-12-011-2/+1
|
* Fix an issue with dynarec build when running without dynarecptitSeb2022-11-111-1/+1
|
* [DYNAREC] Reprotect bridge when emu is runningptitSeb2022-10-301-1/+5
|
* Imrpoved Bridges, againptitSeb2022-10-291-14/+21
|
* Fixed some issue with bridge memory protection handlingptitSeb2022-10-271-3/+3
|
* Some more wrapping on AtkUtilsptitSeb2022-09-111-3/+6
|
* [DYNAREC] Improve memory protection tracking (help #361)ptitSeb2022-09-041-6/+6
|
* All box internal memory alloc use __libc_ internal one (except on Android, ↵ptitSeb2022-08-061-4/+4
| | | | using libc one gather from dlsym)
* More work on GTK wrapping (hterm seems to run fine now)ptitSeb2022-03-191-0/+2
|
* Declare my_mmap and my_munmap to avoid warningmogery2021-10-131-0/+4
| | | | | | | | | This adds a declaration of my_mmap and my_munmap to src/tools/bridge.c in order to avoid a -Wimplicit-function-declaration warning when compiling. This should probably be moved to a header file in the future.
* Fix incorrect brick cleanupmogery2021-10-121-1/+3
| | | | | | | | FreeBridge used free to clean up the pointer allocated by my_mmap, which is incorrect and lead to a crash upon code that exited gracefully. The free was replaced with my_munmap.
* Map bricks below first 2GB of address spacemogery2021-10-121-1/+4
| | | | | | | | | | | This fixes an issue with mono where JIT compiled code would near-call wrapped libraries, but fail because the difference between PC and the call address did not fit into an imm32. This was fixed by replacing posix_memalign with my_mmap and providing the MAP_32BIT flag. Fixes #131
* Add some support vor VSyscallptitSeb2021-09-021-0/+44
|
* Fix non-dynarec buildptitSeb2021-07-051-1/+1
|
* Removed mutex per bridge and use a global one (remove chance of freeze on fork)ptitSeb2021-07-051-7/+4
|
* Improved unloading of libsptitSeb2021-06-041-0/+2
|
* Fixed GetNativeFncptitSeb2021-04-181-2/+2
|