2023-01-29 11:37:52 +00:00
|
|
|
namespace Ryujinx.Cpu.AppleHv
|
|
|
|
{
|
|
|
|
unsafe class HvVcpu
|
|
|
|
{
|
|
|
|
public readonly ulong Handle;
|
2023-07-01 02:18:52 +00:00
|
|
|
public readonly HvVcpuExit* ExitInfo;
|
2023-01-29 11:37:52 +00:00
|
|
|
public readonly IHvExecutionContext ShadowContext;
|
|
|
|
public readonly IHvExecutionContext NativeContext;
|
|
|
|
public readonly bool IsEphemeral;
|
|
|
|
|
|
|
|
public HvVcpu(
|
|
|
|
ulong handle,
|
2023-07-01 02:18:52 +00:00
|
|
|
HvVcpuExit* exitInfo,
|
2023-01-29 11:37:52 +00:00
|
|
|
IHvExecutionContext shadowContext,
|
|
|
|
IHvExecutionContext nativeContext,
|
|
|
|
bool isEphemeral)
|
|
|
|
{
|
|
|
|
Handle = handle;
|
|
|
|
ExitInfo = exitInfo;
|
|
|
|
ShadowContext = shadowContext;
|
|
|
|
NativeContext = nativeContext;
|
|
|
|
IsEphemeral = isEphemeral;
|
|
|
|
}
|
|
|
|
}
|
2023-07-01 02:18:52 +00:00
|
|
|
}
|