2018-12-18 00:33:36 -05:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Common
|
2018-09-23 14:11:46 -04:00
|
|
|
{
|
|
|
|
enum KernelResult
|
|
|
|
{
|
2019-01-18 17:26:39 -05:00
|
|
|
Success = 0,
|
|
|
|
SessionCountExceeded = 0xe01,
|
|
|
|
InvalidCapability = 0x1c01,
|
|
|
|
ThreadNotStarted = 0x7201,
|
|
|
|
ThreadTerminating = 0x7601,
|
|
|
|
InvalidSize = 0xca01,
|
|
|
|
InvalidAddress = 0xcc01,
|
|
|
|
OutOfResource = 0xce01,
|
|
|
|
OutOfMemory = 0xd001,
|
|
|
|
HandleTableFull = 0xd201,
|
|
|
|
InvalidMemState = 0xd401,
|
|
|
|
InvalidPermission = 0xd801,
|
|
|
|
InvalidMemRange = 0xdc01,
|
|
|
|
InvalidPriority = 0xe001,
|
|
|
|
InvalidCpuCore = 0xe201,
|
|
|
|
InvalidHandle = 0xe401,
|
|
|
|
UserCopyFailed = 0xe601,
|
|
|
|
InvalidCombination = 0xe801,
|
|
|
|
TimedOut = 0xea01,
|
|
|
|
Cancelled = 0xec01,
|
|
|
|
MaximumExceeded = 0xee01,
|
|
|
|
InvalidEnumValue = 0xf001,
|
|
|
|
NotFound = 0xf201,
|
|
|
|
InvalidThread = 0xf401,
|
|
|
|
PortRemoteClosed = 0xf601,
|
|
|
|
InvalidState = 0xfa01,
|
|
|
|
ReservedValue = 0xfc01,
|
|
|
|
PortClosed = 0x10601,
|
|
|
|
ResLimitExceeded = 0x10801,
|
|
|
|
OutOfVaSpace = 0x20601,
|
|
|
|
CmdBufferTooSmall = 0x20801
|
2018-09-23 14:11:46 -04:00
|
|
|
}
|
|
|
|
}
|