Ryan Houdek
a9c27646a0
FEXRootFSFetcher: Remove usage of fextl::string_from_string
2023-04-07 17:01:52 -07:00
Ryan Houdek
278f411cfa
FEXGetConfig: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
cafbcfec69
Config: Remove string_from_path
2023-04-07 17:01:52 -07:00
Ryan Houdek
f5ed9c4ff3
CodeCache: Convert std::fs to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
e027521941
ELFContainer: Convert std::fs to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
cb6680ef57
ELFSymbolDB: Convert to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
613a368f5f
FEXLoader: Convert unique_ptr to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
13500e59a3
TestHarnessRunner: Convert unique_ptr to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
1306e597dd
CodeSerialize: Convert unique_ptr to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
87f8a6655a
FEXConfig: Fixes crash that will occur once glibc hooking is removed.
...
This unique_ptr would end up getting allocated through jemalloc then
fread through glibc.
Convert over to fextl::unique_ptr to ensure it gets allocated and
deallocated through jemalloc correctly.
2023-04-07 17:01:52 -07:00
Ryan Houdek
4d70f4fc4e
Remove some unused headers now.
2023-04-07 17:01:52 -07:00
Ryan Houdek
9dd715573c
Syscalls: Convert Sourcecodemap fstram usage to raw files
2023-04-07 17:01:52 -07:00
Ryan Houdek
87772efb31
IRLoader: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
bb922f9a9e
External: Update robin-map
2023-04-07 17:01:52 -07:00
Ryan Houdek
7fe14b0748
FileManagement: Remove extraneous string_from_string
2023-04-07 17:01:52 -07:00
Ryan Houdek
4ab822aebb
IRParser: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
ecb7956d78
Syscalls: Convert std::filesystem to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
e232a10442
FileFormatCheck: Convert fstream to raw files.
2023-04-07 17:01:52 -07:00
Ryan Houdek
efada6a0ea
Config: Convert some std::filesystem to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
cfbd74e17b
FEXLoader: Convert some std::filesystem over to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
4eb91ef7f1
ELFContainer: Remove fstream usage
2023-04-07 17:01:52 -07:00
Ryan Houdek
2d18156e15
AOT: Convert fstream to fextl and raw files
2023-04-07 17:01:52 -07:00
Ryan Houdek
dff0b45f29
TestHarnessRunner: Remove extraneous fextl::string creation
2023-04-07 17:01:51 -07:00
Ryan Houdek
8fb7e8d80e
FHU: Add RenameFile helper
2023-04-07 17:01:51 -07:00
Ryan Houdek
60fe987e09
NetStream: Add operator new/delete because of raw pointer usage.
2023-04-07 17:01:51 -07:00
Ryan Houdek
7180bb1496
GdbServer: Convert fstream to fextl
2023-04-07 17:01:51 -07:00
Ryan Houdek
001a086d85
Convert remaining fmt::format to fextl
2023-04-07 17:01:51 -07:00
Ryan Houdek
8a711383bb
fextl/fmt: Adds print helper that takes FD
2023-04-07 17:01:51 -07:00
Ryan Houdek
257a3a54dc
Context: Convert over to a unique_ptr
2023-04-07 17:01:51 -07:00
Ryan Houdek
e4fadd6992
Merge pull request #2587 from Sonicadvance1/disable_sbrk
...
Allocator: Disable glibc sbrk allocations
2023-04-07 17:01:19 -07:00
Ryan Houdek
9e5971b89c
Allocator: Disable glibc sbrk allocations
...
This is done by consuming a single page at the end of the current sbrk
memory region. Then consuming any remaining bytes that could have
potentially ended up in it.
This ensures that glibc won't be able to return 64-bit pointers to
32-bit thunks once the remaining work is in place.
2023-04-06 12:27:44 -07:00
Ryan Houdek
28c168ea0c
Merge pull request #2586 from AndreRH/main
...
Dispatcher: Fixes restoring of AVX state
2023-04-05 12:42:36 -07:00
André Zwing
f944709139
Dispatcher: Fixes restoring of AVX state
2023-04-05 21:15:05 +02:00
Ryan Houdek
e8bf7a1a46
Merge pull request #2583 from Sonicadvance1/xcb_thunk
...
Thunks: Make xcb's callback more robust.
2023-04-03 13:30:24 -07:00
Ryan Houdek
f87b00a7e4
Thunks: Make xcb's callback more robust.
...
Fixes a crash in xcb thunks since more stuff on FEX side has moved over
to jemalloc.
Destructors don't actually get called when a shared library is removed.
It's some weirdo quirk that we can't work around. Instead refcount
Display connections being created and disconnected. Creating the thread
on the first display creation, and tearing down on final display
teardown.
Must be merged before #2564 otherwise that PR will break thunks.
2023-04-03 13:16:50 -07:00
Ryan Houdek
a9f0cb15bf
Thunks: Enable ccache if available
...
More vrooms.
2023-04-03 09:39:42 -07:00
Mai
a78860c194
Merge pull request #2581 from Sonicadvance1/disable_mcount_pic
...
unittests/gcc: Disable mcount_pic test
2023-04-01 18:09:47 -04:00
Ryan Houdek
f056cc790e
unittests/gcc: Disable mcount_pic test
...
This has a race condition with SIGPROF which the Tegra Orin hits
consistently. Probably due to a faster timer or something?
2023-04-01 14:48:44 -07:00
Ryan Houdek
aac4e25ca4
Merge pull request #2549 from Sonicadvance1/glibc_remaining_allocations
...
Move FEX away from the remaining glibc allocations that we can
2023-04-01 09:46:29 -07:00
Ryan Houdek
546a1edb55
CodeReview
2023-04-01 09:27:01 -07:00
Tony Wasserka
21838fe03f
Merge pull request #2574 from neobrain/feature_thunk_wayland
...
Add support for thunking Wayland
2023-04-01 17:15:49 +02:00
Tony Wasserka
42e2a5421a
Thunks: Add wayland-client
2023-04-01 16:58:30 +02:00
Tony Wasserka
557df4f0a7
Thunks/gen: Add support for thunking APIs with pointer-to-function-pointer arguments
2023-04-01 16:52:49 +02:00
Tony Wasserka
99ba648a71
Thunks: Fix thunking libraries with "-" in their name
...
The LOAD_LIB and EXPORTS macros behave slightly differently in this regard:
* Use LOAD_LIB(libwayland-client) in Guest.cpp (library name with dash)
* Use EXPORTS(libwayland_client) in Host.cpp (library name with underscore)
2023-04-01 16:52:49 +02:00
Ryan Houdek
97daec3dba
Review comments
2023-03-31 06:03:06 -07:00
Mai
4f20dba505
Merge pull request #2566 from Sonicadvance1/fexconfig_fixes
...
FEXConfig: Fixes misalignment when advanced option is changed.
2023-03-31 03:22:18 -04:00
Ryan Houdek
2990a9d820
FaultingAllocator: Review comments
2023-03-30 16:28:34 -07:00
Ryan Houdek
53bbbd5a4f
Review code
2023-03-30 16:28:34 -07:00
Ryan Houdek
047dddb023
Rebase patching
2023-03-30 16:28:34 -07:00
Ryan Houdek
4f66ff6ec4
Paths: Remove unique_ptr usage
2023-03-30 16:28:34 -07:00