arm: Implement native code execution backend

This commit is contained in:
Liam 2023-11-17 23:44:53 +02:00 committed by t895
parent 4838837620
commit 9f91ba1f73
31 changed files with 1803 additions and 51 deletions

View file

@ -189,6 +189,11 @@ public:
}
}
void EnableDirectMappedAddress() {
// TODO
UNREACHABLE();
}
const size_t backing_size; ///< Size of the backing memory in bytes
const size_t virtual_size; ///< Size of the virtual address placeholder in bytes
@ -340,11 +345,6 @@ private:
return false;
}
void EnableDirectMappedAddress() {
// TODO
UNREACHABLE();
}
HANDLE process{}; ///< Current process handle
HANDLE backing_handle{}; ///< File based backing memory

View file

@ -158,8 +158,8 @@ bool IsFastmemEnabled() {
static bool is_nce_enabled = false;
void SetNceEnabled(bool is_64bit) {
is_nce_enabled = values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit;
void SetNceEnabled(bool is_39bit) {
is_nce_enabled = values.cpu_backend.GetValue() == CpuBackend::Nce && is_39bit;
}
bool IsNceEnabled() {

View file

@ -181,7 +181,7 @@ struct Values {
// Cpu
SwitchableSetting<CpuBackend, true> cpu_backend{
linkage, CpuBackend::Dynarmic, CpuBackend::Dynarmic,
linkage, CpuBackend::Nce, CpuBackend::Dynarmic,
#ifdef ARCHITECTURE_arm64
CpuBackend::Nce,
#else