mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-05 03:21:23 +00:00
20ce37dee6
* Start refactoring kernel a bit and import some changes from kernel decoupling PR * kernel: Put output always at the start in Syscall functions * kernel: Rewrite GetThreadContext3 to use a structure and to be accurate * kernel: make KernelTransfer use generic types and simplify * Fix some warning and do not use getters on MemoryInfo * Address gdkchan's comment * GetThreadContext3: use correct pause flag
22 lines
532 B
C#
22 lines
532 B
C#
using ARMeilleure.State;
|
|
using Ryujinx.Common.Memory;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
|
|
{
|
|
struct ThreadContext
|
|
{
|
|
public Array29<ulong> Registers;
|
|
public ulong Fp;
|
|
public ulong Lr;
|
|
public ulong Sp;
|
|
public ulong Pc;
|
|
public uint Pstate;
|
|
#pragma warning disable CS0169
|
|
private uint _padding;
|
|
#pragma warning restore CS0169
|
|
public Array32<V128> FpuRegisters;
|
|
public uint Fpcr;
|
|
public uint Fpsr;
|
|
public ulong Tpidr;
|
|
}
|
|
}
|