Commit Graph
9 Commits
Author SHA1 Message Date
Stefanos Kornilios Mitsis Poiitidis b3ae845071 Syscalls/BRK: Don't use more memory than mapped 2020-09-12 00:39:11 +03:00
Ryan Houdek 10087f7757 Implements initial 32bit syscall support
This adds the initial 32bit syscalls for testing. No where near complete
2020-05-15 03:23:15 -07:00
Ryan Houdek d2cf07a4fd Passes the running mode through from FEX to FEXCore 2020-05-14 00:56:31 -07:00
Ryan Houdek 8c2beba584 Cleans up x86-64 syscall implementation
Splits out to a jump table approach and loosely classifies and groups
the syscalls.

Also defines syscalls by number of arguments so it can be optimized
2020-04-05 14:00:13 -07:00
Ryan Houdek b948be7ad8 Implements more syscalls that I found while running applications
Futex needs to be looked at seriously soon to see if we can just pass it
directly
2020-03-21 21:12:15 -07:00
Stefanos Kornilios Mitsis Poiitidis 8a1a3c222b Merge pull request #57 from Sonicadvance1/fix_futex
Fixes a couple bugs in the futex syscall
2020-03-21 09:30:51 +02:00
Ryan Houdek ca36fd4523 Fixes a couple bugs in the futex syscall
futex command 9 is actually WAIT_BITSET, not WAKE_BITSET
Implements futexes with timeouts as well, necessary for anything using
std::condition_variable and wait_for/wait_until
2020-03-20 17:32:37 -07:00
Ryan Houdek ea167cf7d9 Adds a few new syscalls that I saw in app testing
madvise, dup, bind, syslog, getresuid, get_mempolicy, newfstatat, execve

execve specifically returned error. We don't support it yet.
2020-03-20 12:30:08 -07:00
Stefanos Kornilios Mitsis Poiitidis e9ea4cbb76 FEXCore: Move to Externals/FEXCore 2020-03-06 09:07:37 +02:00