ProcessExecutionContext.cs
1 using ARMeilleure.State; 2 using Ryujinx.Cpu; 3 4 namespace Ryujinx.HLE.HOS.Kernel.Process 5 { 6 class ProcessExecutionContext : IExecutionContext 7 { 8 public ulong Pc => 0UL; 9 10 public long TpidrEl0 { get; set; } 11 public long TpidrroEl0 { get; set; } 12 13 public uint Pstate { get; set; } 14 15 public uint Fpcr { get; set; } 16 public uint Fpsr { get; set; } 17 18 public bool IsAarch32 { get => false; set { } } 19 20 public bool Running { get; private set; } = true; 21 22 private readonly ulong[] _x = new ulong[32]; 23 24 public ulong GetX(int index) => _x[index]; 25 public void SetX(int index, ulong value) => _x[index] = value; 26 27 public V128 GetV(int index) => default; 28 public void SetV(int index, V128 value) { } 29 30 public void RequestInterrupt() 31 { 32 } 33 34 public void StopRunning() 35 { 36 Running = false; 37 } 38 39 public void Dispose() 40 { 41 } 42 } 43 }