Stefanos Kornilios Mitsis Poiitidis
f68593ea97
Merge pull request #877 from Sonicadvance1/fix_absolute_linker
...
Adds some additional logic for finding absolute soft linked linker
2021-03-21 11:08:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
e15730782b
Merge pull request #879 from Sonicadvance1/update_readme
...
Updates readme with some more direct information
2021-03-21 11:07:35 +02:00
Ryan Houdek
fc27893f20
Updates readme with some more direct information
...
Some of this taken from Stef's recent changes. Some taken from the wiki.
combination of the two best bits
2021-03-21 01:53:51 -07:00
Ryan Houdek
5b8bf8dd24
Adds some additional logic for finding absolute soft linked linker
...
Ubuntu's x86_64 rootfs does a soft link from `/lib64/ld-linux-x86-64.so.2` to an absolute path of `/lib/x86_64-linux-gnu/ld-2.32.so`
Our frontend ELF loader logic would resolve this symlink to be just `/lib/x86_64-linux-gnu/ld-2.32.so` which would then fail.
Adds some additional logic to our frontend that if the symlink ends up being a softlink to an absolute address then it'll first resolve that symlink.
Then combines rootfs + absolute path. If that still fails then it'll fall down the regular linker path, which could still find the linker on the host side.
This is all a bit of a kludge to just work around Ubuntu doing an absolute address rather than a relative one.
Fixes #869
2021-03-21 01:11:47 -07:00
Ryan Houdek
8c1f2eb0b3
Merge pull request #870 from FEX-Emu/skmp/lock-validation
...
OpDisp: Validate LOCK handling, add missing segment offsets
2021-03-20 15:53:06 -07:00
Ryan Houdek
07613456d2
Merge pull request #872 from FEX-Emu/skmp/x87-fixes
...
X87: Init on X87FNSAVE, fix FNINIT
2021-03-20 15:52:54 -07:00
Ryan Houdek
493bb3bef3
Merge pull request #875 from phire/test-no-multibock
...
Explictly as for --no-multiblock in tests
2021-03-20 15:52:44 -07:00
Scott Mansell
cf8572e090
Explictly as for --no-multiblock in tests
...
We switched the default over a while back, so we haven't
been getting test coverage with multiblock off
2021-03-21 04:57:47 +13:00
Stefanos Kornilios Mitsis Poiitidis
d120f12c93
X87: Init on X87FNSAVE, fix FNINIT
2021-03-19 17:04:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
695322d446
OpDisp: Validate LOCK handling, add missing segment offsets
2021-03-19 16:32:29 +02:00
Stefanos Kornilios Mitsis Poiitidis
d34cde12ae
Merge pull request #850 from Sonicadvance1/struct_verifier
...
libclang based Struct verifier written in python
2021-03-19 10:06:34 +02:00
Stefanos Kornilios Mitsis Poiitidis
a7dc9d00d2
Merge pull request #864 from Sonicadvance1/cpuid_15h
...
Implements CPUID 15h
2021-03-19 10:02:02 +02:00
Ryan Houdek
dbde2e400e
Merge pull request #863 from Sonicadvance1/enable_invariant_tsc
...
Enables Invariant TSC CPUID bit
2021-03-18 12:39:08 -07:00
Ryan Houdek
bdeefa7bf0
Merge pull request #861 from Sonicadvance1/add_version_config
...
Implements a --version argument
2021-03-18 12:39:00 -07:00
Ryan Houdek
51e513df14
Merge pull request #865 from FEX-Emu/skmp/fix-emufiles-lock
...
EmulatedFiles: Lock around FDToNameMap accesses
2021-03-18 04:11:58 -07:00
Stefanos Kornilios Mitsis Poiitidis
0106b362d6
EmulatedFiles: Lock around FDToNameMap accesses
2021-03-18 12:45:27 +02:00
Ryan Houdek
c7f265158f
Implements CPUID 15h
...
ARMv8 allows you query the cycle counter register very from userspace which allows us to emulate this easily.
My IceLake device returns 1.5Ghz through this interface
My AMD Zen+ device doesn't support this but with measurements has 3Ghz TSC
My Snapdragon 865 device has a TSC frequency of 19.20Mhz
2021-03-18 01:42:44 -07:00
Ryan Houdek
fbf5325bdd
Enables Invariant TSC CPUID bit
...
I keep forgetting to enable this bit. Fixes #855
2021-03-18 00:15:48 -07:00
Ryan Houdek
9b2bd8df28
Implements a --version argument
...
Nicer for the user to determine what their version is
2021-03-17 00:00:57 -07:00
Ryan Houdek
2a074204bc
Merge pull request #859 from Sonicadvance1/improve_fexinterpreter_msg
...
Adds an installer message to the FEXInterpreter install
2021-03-16 23:13:12 -07:00
Ryan Houdek
d79fb37135
Merge pull request #858 from Sonicadvance1/remove_testharness
...
Removes TestHarness
2021-03-16 23:13:03 -07:00
Ryan Houdek
d01b40c5aa
Adds an installer message to the FEXInterpreter install
...
Otherwise it doesn't feel like FEXInterpreter is installing
2021-03-16 22:36:58 -07:00
Ryan Houdek
e871a43387
Merge pull request #857 from phire/deletething
...
Remove old and unused HostCore
2021-03-16 22:30:30 -07:00
Ryan Houdek
ff45b37904
Merge pull request #856 from Sonicadvance1/remove_libcap
...
Removes libcap-dev dependency
2021-03-16 22:30:21 -07:00
Ryan Houdek
62aab57ef7
Removes TestHarness
...
This has been completely deprecated for favour of the TestHarnessRunner instead.
Is unused.
2021-03-16 22:14:49 -07:00
Scott Mansell
208fa0d1fc
Remove old and unused HostCore
...
The thing we are actually using is Source/CommonCore/HostFactory.cpp
2021-03-17 18:09:49 +13:00
Ryan Houdek
634d4fead0
Removes libcap-dev dependency
...
We are only using this for syscalls getcap and setcap.
These are only passthrough pointers and don't need to be handled from a library.
Noticed this while writing user documentation
2021-03-16 22:08:15 -07:00
Ryan Houdek
0bdddedfe6
Merge pull request #853 from FEX-Emu/skmp/dont-lse-though-syscalls
...
RCLSE: Invalidate around OP_SYSCALLs, Syscalls might read the context
2021-03-16 17:54:54 -07:00
Stefanos Kornilios Mitsis Poiitidis
971740991b
RCLSE: Invalidate around OP_SYSCALLs, Syscalls might read the context and need the latest version of it
...
Fixes steam w/ all optimization passes enabled
2021-03-17 02:42:32 +02:00
Ryan Houdek
cb672e035c
Merge pull request #852 from Sonicadvance1/fix_fexconfig_idle
...
Fixes FEXConfig trying to update full refresh
2021-03-16 00:53:40 -07:00
Ryan Houdek
4f64ba582c
Patch up the remaining 32bit structs
2021-03-15 15:51:59 -07:00
Ryan Houdek
fbe2583a04
Fix truncating to not set the log files to 21MB
2021-03-15 15:24:49 -07:00
Ryan Houdek
befe9dcbae
Adds struct verifier to github yaml workflow file
...
This way CI tests this on each commit
2021-03-15 15:24:49 -07:00
Ryan Houdek
aacb0f6891
Adds new struct_verifier ctest to cmake
...
Currently only testing 32bit syscall struct definitions
2021-03-15 15:24:49 -07:00
Ryan Houdek
040cc746e7
Fixes FEXConfig trying to update full refresh
...
This burns a decent amount of CPU time just idling and we don't have active screen elements to matter here
It's still responsive because it'll update as the window gets any events
2021-03-15 09:46:49 -07:00
Ryan Houdek
e0c5840f2c
Adds libclang based struct verifier
...
This requires multiarch on the targets to work.
Will run a header through multiple architectures and ensure that the struct packing all works
2021-03-15 06:58:06 -07:00
Ryan Houdek
48027f1d2e
Moves BUILD_TESTS check up the list
...
This way Source/ can have its own tests
2021-03-15 06:58:06 -07:00
Ryan Houdek
9dc0717cdb
Attributes a few 32bit syscall types
...
This will be necessary for struct verification in the next commit
rusage needed to be updated to match the real rusage. Has unions with two named types
2021-03-15 06:58:06 -07:00
Ryan Houdek
8de7dd8fd0
Merge pull request #848 from Sonicadvance1/remove_warnings
...
Remove most warnings from FEX
2021-03-15 06:57:42 -07:00
Ryan Houdek
79e9477b14
Removes warnings from RAPass
2021-03-14 13:27:40 -07:00
Ryan Houdek
0b8f29000e
Removes warnings from ConstProp
2021-03-14 13:27:39 -07:00
Ryan Houdek
e530e3676f
Removes warnings from IRDumper
2021-03-14 13:27:39 -07:00
Ryan Houdek
0c5e5dbdf2
Removes warnings from OpcodeDispatcher
2021-03-14 13:27:39 -07:00
Ryan Houdek
d8591a8f14
Removes warnings from x86 JITCore
2021-03-14 13:27:39 -07:00
Ryan Houdek
941107120c
Removes warnings from x86 BranchOps
2021-03-14 13:27:39 -07:00
Ryan Houdek
ffc17c90c5
Removes warnings from InterpreterOps
2021-03-14 13:27:39 -07:00
Ryan Houdek
5285f4baa6
Adds CMake option to enable -Werror
...
We aren't error free so can't be default enabled
2021-03-14 13:27:39 -07:00
Ryan Houdek
037781c4d0
Merge pull request #849 from Sonicadvance1/fix_kernel_version
...
Fixes uname version and wraps /proc/version
2021-03-14 11:09:05 -07:00
Scott Mansell
4d2221a456
Merge pull request #831 from phire/one_dispatcher_to_rule_them_all
...
Unify all four dispatchers
2021-03-15 05:42:21 +13:00
Scott Mansell
466dc03c19
Remove stray cmake changes
2021-03-15 04:49:09 +13:00