2022-05-31 20:29:35 +01:00
|
|
|
|
using Ryujinx.Cpu;
|
2020-12-01 23:23:43 +00: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 20:29:35 +01:00
|
|
|
|
public IExecutionContext CreateExecutionContext(ExceptionCallbacks exceptionCallbacks)
|
|
|
|
|
{
|
|
|
|
|
return new ProcessExecutionContext();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(IExecutionContext context, ulong codeAddress)
|
2020-12-01 23:23:43 +00:00
|
|
|
|
{
|
|
|
|
|
throw new NotSupportedException();
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-18 01:53:18 +00:00
|
|
|
|
public void InvalidateCacheRegion(ulong address, ulong size)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-01 23:23:43 +00:00
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|