ICpuEngine.cs
1 using ARMeilleure.Memory; 2 3 namespace Ryujinx.Cpu 4 { 5 /// <summary> 6 /// CPU execution engine interface. 7 /// </summary> 8 public interface ICpuEngine 9 { 10 /// <summary> 11 /// Creates a new CPU context that can be used to run code for multiple threads sharing an address space. 12 /// </summary> 13 /// <param name="memoryManager">Memory manager for the address space of the context</param> 14 /// <param name="for64Bit">Indicates if the context will be used to run 64-bit or 32-bit Arm code</param> 15 /// <returns>CPU context</returns> 16 ICpuContext CreateCpuContext(IMemoryManager memoryManager, bool for64Bit); 17 } 18 }