Remove result.h InvalidHandle
It was only being used in two places, where it was replaced by a local constant.
This commit is contained in:
parent
44f90340dc
commit
09ae6e1fa3
4 changed files with 32 additions and 30 deletions
|
@ -31,7 +31,8 @@ class Thread;
|
|||
const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel,
|
||||
ErrorSummary::OutOfResource, ErrorLevel::Temporary);
|
||||
// TOOD: Verify code
|
||||
const ResultCode ERR_INVALID_HANDLE = InvalidHandle(ErrorModule::Kernel);
|
||||
const ResultCode ERR_INVALID_HANDLE(ErrorDescription::InvalidHandle, ErrorModule::Kernel,
|
||||
ErrorSummary::InvalidArgument, ErrorLevel::Permanent);
|
||||
|
||||
enum KernelHandle : Handle {
|
||||
CurrentThread = 0xFFFF8000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue