public ArmProcessContext(ulong pid, GpuContext gpuContext, T memoryManager, bool for64Bit) { if (memoryManager is IRefCounted rc) { rc.IncrementReferenceCount(); } gpuContext.RegisterProcess(pid, memoryManager); _pid = pid; _gpuContext = gpuContext; _cpuContext = new CpuContext(memoryManager, for64Bit); _memoryManager = memoryManager; }