forked from Mirror/Ryujinx
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
39 lines
2.2 KiB
C#
39 lines
2.2 KiB
C#
namespace Ryujinx.Horizon.Common
|
|
{
|
|
public static class KernelResult
|
|
{
|
|
private const int ModuleId = 1;
|
|
|
|
public static Result SessionCountExceeded => new(ModuleId, 7);
|
|
public static Result InvalidCapability => new(ModuleId, 14);
|
|
public static Result ThreadNotStarted => new(ModuleId, 57);
|
|
public static Result ThreadTerminating => new(ModuleId, 59);
|
|
public static Result InvalidSize => new(ModuleId, 101);
|
|
public static Result InvalidAddress => new(ModuleId, 102);
|
|
public static Result OutOfResource => new(ModuleId, 103);
|
|
public static Result OutOfMemory => new(ModuleId, 104);
|
|
public static Result HandleTableFull => new(ModuleId, 105);
|
|
public static Result InvalidMemState => new(ModuleId, 106);
|
|
public static Result InvalidPermission => new(ModuleId, 108);
|
|
public static Result InvalidMemRange => new(ModuleId, 110);
|
|
public static Result InvalidPriority => new(ModuleId, 112);
|
|
public static Result InvalidCpuCore => new(ModuleId, 113);
|
|
public static Result InvalidHandle => new(ModuleId, 114);
|
|
public static Result UserCopyFailed => new(ModuleId, 115);
|
|
public static Result InvalidCombination => new(ModuleId, 116);
|
|
public static Result TimedOut => new(ModuleId, 117);
|
|
public static Result Cancelled => new(ModuleId, 118);
|
|
public static Result MaximumExceeded => new(ModuleId, 119);
|
|
public static Result InvalidEnumValue => new(ModuleId, 120);
|
|
public static Result NotFound => new(ModuleId, 121);
|
|
public static Result InvalidThread => new(ModuleId, 122);
|
|
public static Result PortRemoteClosed => new(ModuleId, 123);
|
|
public static Result InvalidState => new(ModuleId, 125);
|
|
public static Result ReservedValue => new(ModuleId, 126);
|
|
public static Result PortClosed => new(ModuleId, 131);
|
|
public static Result ResLimitExceeded => new(ModuleId, 132);
|
|
public static Result ReceiveListBroken => new(ModuleId, 258);
|
|
public static Result OutOfVaSpace => new(ModuleId, 259);
|
|
public static Result CmdBufferTooSmall => new(ModuleId, 260);
|
|
}
|
|
}
|