aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/NativeContextOffsets.cs
blob: 8a3a968d0834f6ab8e2ef0bb95b0db90f501f813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
    }
}