Refactors: Move CodeBuffers to CPUBackend, SignalHandlerRefCounter to CpuStateFrame, Arm64 Relocation to ARM64Jit

This commit is contained in:
Stefanos Kornilios Misis Poiitidis committed 2022-06-10 10:39:42 +03:00
1 parent 8521aaf65c
commit 0afb3caaed
20 files changed
+363 -432

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ namespace HostFactory {
}
HostCore::HostCore(FEXCore::Context::Context* CTX, FEXCore::Core::InternalThreadState *Thread, bool Fallback)
: CodeGenerator(4096) {
: CPUBackend(Thread, 0, 0)
, CodeGenerator(4096) {
FEXCore::Context::RegisterHostSignalHandler(CTX, SIGSEGV,
[](FEXCore::Core::InternalThreadState *Thread, int Signal, void *info, void *ucontext) -> bool {
auto InternalThread = Thread;