mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Implement a new JIT for Arm devices (#6057)
* Implement a new JIT for Arm devices * Auto-format * Make a lot of Assembler members read-only * More read-only * Fix more warnings * ObjectDisposedException.ThrowIf * New JIT cache for platforms that enforce W^X, currently unused * Remove unused using * Fix assert * Pass memory manager type around * Safe memory manager mode support + other improvements * Actual safe memory manager mode masking support * PR feedback
This commit is contained in:
1 parent
331c07807f
commit
427b7d06b5
135 files changed
+43322
-24
No files matched your search
@@ -0,0 +1,17 @@
|
||||
using Ryujinx.Cpu.LightningJit.State;
|
||||
|
||||
namespace Ryujinx.Cpu.LightningJit
|
||||
{
|
||||
class NativeContextOffsets
|
||||
{
|
||||
public static int GprBaseOffset => NativeContext.GetXOffset();
|
||||
public static int FpSimdBaseOffset => NativeContext.GetVOffset();
|
||||
public static int FlagsBaseOffset => NativeContext.GetFlagsOffset();
|
||||
public static int FpFlagsBaseOffset => NativeContext.GetFpFlagsOffset();
|
||||
public static int TpidrEl0Offset => NativeContext.GetTpidrEl0Offset();
|
||||
public static int TpidrroEl0Offset => NativeContext.GetTpidrroEl0Offset();
|
||||
public static int RunningOffset => NativeContext.GetRunningOffset();
|
||||
public static int CounterOffset => NativeContext.GetCounterOffset();
|
||||
public static int DispatchAddressOffset => NativeContext.GetDispatchAddressOffset();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user