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:
Yuri Kunde Schlesner 2015-01-23 03:44:52 -02:00
parent 44f90340dc
commit 09ae6e1fa3
4 changed files with 32 additions and 30 deletions

View file

@ -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,