2019-01-18 22:26:39 +00:00
|
|
|
using Ryujinx.HLE.HOS.Kernel.Process;
|
|
|
|
using Ryujinx.HLE.HOS.Kernel.Threading;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Ipc
|
|
|
|
{
|
|
|
|
class KSessionRequest
|
|
|
|
{
|
|
|
|
public KBufferDescriptorTable BufferDescriptorTable { get; }
|
|
|
|
|
|
|
|
public KThread ClientThread { get; }
|
|
|
|
|
|
|
|
public KProcess ServerProcess { get; set; }
|
|
|
|
|
|
|
|
public KWritableEvent AsyncEvent { get; }
|
|
|
|
|
|
|
|
public ulong CustomCmdBuffAddr { get; }
|
|
|
|
public ulong CustomCmdBuffSize { get; }
|
|
|
|
|
|
|
|
public KSessionRequest(
|
2020-07-17 05:19:07 +01:00
|
|
|
KThread clientThread,
|
|
|
|
ulong customCmdBuffAddr,
|
|
|
|
ulong customCmdBuffSize,
|
|
|
|
KWritableEvent asyncEvent = null)
|
2019-01-18 22:26:39 +00:00
|
|
|
{
|
|
|
|
ClientThread = clientThread;
|
|
|
|
CustomCmdBuffAddr = customCmdBuffAddr;
|
|
|
|
CustomCmdBuffSize = customCmdBuffSize;
|
2020-07-17 05:19:07 +01:00
|
|
|
AsyncEvent = asyncEvent;
|
2019-01-18 22:26:39 +00:00
|
|
|
|
|
|
|
BufferDescriptorTable = new KBufferDescriptorTable();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|