2022-05-31 21:29:35 +02:00
|
|
|
|
using Ryujinx.Cpu;
|
2020-12-02 00:23:43 +01:00
|
|
|
|
using Ryujinx.Memory;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
|
|
|
|
{
|
|
|
|
|
class ProcessContext : IProcessContext
|
|
|
|
|
{
|
|
|
|
|
public IVirtualMemoryManager AddressSpace { get; }
|
|
|
|
|
|
|
|
|
|
public ProcessContext(IVirtualMemoryManager asManager)
|
|
|
|
|
{
|
|
|
|
|
AddressSpace = asManager;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-31 21:29:35 +02:00
|
|
|
|
public IExecutionContext CreateExecutionContext(ExceptionCallbacks exceptionCallbacks)
|
|
|
|
|
{
|
|
|
|
|
return new ProcessExecutionContext();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(IExecutionContext context, ulong codeAddress)
|
2020-12-02 00:23:43 +01:00
|
|
|
|
{
|
|
|
|
|
throw new NotSupportedException();
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-18 02:53:18 +01:00
|
|
|
|
public void InvalidateCacheRegion(ulong address, ulong size)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-02 00:23:43 +01:00
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|