ProcessExecutionContext.cs 1.0 KB

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