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