diff options
| author | 2017-05-21 00:11:36 -0700 | |
|---|---|---|
| committer | 2017-05-24 21:06:00 -0700 | |
| commit | 2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3 (patch) | |
| tree | 7d6d61465f7a4cb6bbb68902301e1ca92f5a76a5 /src/core/hle/kernel/kernel.h | |
| parent | GSP_GPU: Move error codes from result.h to local file (diff) | |
| download | yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.gz yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.xz yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.zip | |
Kernel: Centralize error definitions in errors.h
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index bb8b99bb5..94f2025a0 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -19,13 +19,6 @@ using Handle = u32; | |||
| 19 | 19 | ||
| 20 | class Thread; | 20 | class Thread; |
| 21 | 21 | ||
| 22 | // TODO: Verify code | ||
| 23 | const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel, | ||
| 24 | ErrorSummary::OutOfResource, ErrorLevel::Temporary); | ||
| 25 | // TOOD: Verify code | ||
| 26 | const ResultCode ERR_INVALID_HANDLE(ErrorDescription::InvalidHandle, ErrorModule::Kernel, | ||
| 27 | ErrorSummary::InvalidArgument, ErrorLevel::Permanent); | ||
| 28 | |||
| 29 | enum KernelHandle : Handle { | 22 | enum KernelHandle : Handle { |
| 30 | CurrentThread = 0xFFFF8000, | 23 | CurrentThread = 0xFFFF8000, |
| 31 | CurrentProcess = 0xFFFF8001, | 24 | CurrentProcess = 0xFFFF8001, |