Ryan Houdek
672be71903
Forces FEXLoader to use unified memory
...
The non-unified memory path is completely untested and broken now with
the ELFLoader.
Just not allow it now
2020-09-17 15:39:52 -07:00
Stefanos Kornilios Mitsis Poiitidis
df3bdf361f
SMC: Add --smc-full-checks, implement frontend, irint, irjit, unit test
2020-09-16 01:15:21 +03:00
Ryan Houdek
0819a40c57
Adds option to disable TSO
...
This is a knowingly wrong option for anything running in a threaded
environment
2020-09-05 16:58:03 -07:00
Ryan Houdek
50349db4c6
Moves our entire execution model over to signal execution
...
This requires implementing custom ASM dispatchers for the interpreter
side of things so it works correctly.
Allows all of our CPU backends to safely support signaling.
This is a bit of a nightmare change and requires rethinking logic about
debugging in some instances.
2020-09-02 16:00:17 -07:00
Ryan Houdek
0ce8415e7a
Adds a new option for directing where debug logs go
...
Not interfering with things using terminal GUIs is important.
Add an option that allows us to redirect output to a file
2020-08-02 17:50:21 -07:00
Stefanos Kornilios Mitsis Poiitidis
8c8e6294b6
Thunks: ALTINST, OP_THUNK, basic infrastructure
2020-07-20 13:52:28 +03:00
Ryan Houdek
48c73ca780
Adds support for -E to the ELFLoader
...
Now you can pass environment variables to the guest using -E
ex. `./Bin/ELFLoader -E DISPLAY=:0 -E GALLIUM_HUD=fps,cpu /usr/bin/glxgears`
2020-07-11 09:38:57 +01:00
Ryan Houdek
cf546268ea
Ensures that Unified Memory is enabled by default
2020-06-12 15:08:16 -07:00
Ryan Houdek
7302ad1996
Adds new FEX config for telling the guest how many CPU cores it can have
...
This is just a virtual number that the guest can query through the
various means. Will affect mesa with how many helper threads it
generates at the very least
2020-06-04 00:03:41 -07:00
Ryan Houdek
d2cf07a4fd
Passes the running mode through from FEX to FEXCore
2020-05-14 00:56:31 -07:00
Ryan Houdek
66dc5ebc54
Merge pull request #179 from FEX-Emu/skmp/fix-exit-code
...
Propagate guest exit code
2020-05-01 16:58:07 -07:00
Stefanos Kornilios Mitsis Poiitidis
d58961ef1e
Propagate guest exit code
2020-05-02 02:34:50 +03:00
Stefanos Kornilios Mitsis Poiitidis
3c9be4625c
Add silent log
2020-05-02 01:45:22 +03:00
David Miller
d93c66e5f6
Added EnvLoader to fontend binaries, called prior to ArgLoader
2020-04-24 19:35:59 -04:00
Ryan Houdek
780278a7f6
Fixes memory allocation
...
4GB virtual memory is too small and causes things to fault.
Previously we were at `1 << 36` but it caused oom issues on devices with
smaller amounts of memory.
This time ensure the the SHM memory is allocated with MEM_NORESERVE so
devices can actually allocate the virtual memory region.
2020-04-12 18:39:00 -07:00
Ryan Houdek
3424326987
Removes accurate-std command line argument
...
This is an option that has been removed
2020-04-09 18:01:29 -07:00
Ryan Houdek
5298379fb9
Ensure the ELFLoader doesn't end up in the lower 32bit address space
...
We need to reserve that space for EXEC apps and 32bit apps. Hard throw a
warning if any of our mapping space ends up in the lower 32bits.
PIE and potentially a custom dynamic linker can enforce this.
2020-04-08 13:35:29 -07:00
Ryan Houdek
15d5ba6fc1
Adds RootFS search path in ELFLoader
...
Fixes #69 , makes it less annoying to run things on non x86 hosts
2020-04-04 23:17:40 -07:00
Ryan Houdek
3fd1475d30
Plumbs ELFLoader arguments through the CodeLoader
...
This is necessary for execve in the future to keep everything in sync
2020-03-21 15:19:31 -07:00
Ryan Houdek
03f068ec1d
Adds support for unified memory option in ELFLoader application
2020-03-06 09:08:50 +02:00
Ryan Houdek
3a460b4bf0
Support setting the library rootfs in the ELFLoader
2020-03-06 09:08:46 +02:00
Ryan Houdek
13d681558e
Adds accurate STD output option to ELFLoader
2020-03-06 09:08:44 +02:00
Scott Mansell
213b739f12
Add GdbServer intergraton
2020-03-06 09:08:34 +02:00
Scott Mansell
81b9810f36
FEXCore: Refactor context start/pause/step interface
2020-03-06 09:08:28 +02:00
Ryan Houdek
369686c992
Initial Commit
2020-03-06 09:08:13 +02:00