forked from MeloNX/MeloNX
* misc: Implement address space size workarounds This adds code to support userland with less than 39 bits of address space available by testing reserving multiple sizes and reducing guess address space when needed. This is required for ARM64 support when the kernel is configured to use 63..39 bits for kernel space.(meaning only 38 bits is available to userland) * Address comments * Fix 32 bits address space support and address more comments
18 lines
474 B
C#
18 lines
474 B
C#
using Ryujinx.Cpu;
|
|
using Ryujinx.Memory;
|
|
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
|
{
|
|
interface IProcessContext : IDisposable
|
|
{
|
|
IVirtualMemoryManager AddressSpace { get; }
|
|
|
|
ulong AddressSpaceSize { get; }
|
|
|
|
IExecutionContext CreateExecutionContext(ExceptionCallbacks exceptionCallbacks);
|
|
void Execute(IExecutionContext context, ulong codeAddress);
|
|
void InvalidateCacheRegion(ulong address, ulong size);
|
|
}
|
|
}
|