Changed #include guards in physaddr.h, added now error codes
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#pragma once
|
#ifndef _QUARK_ERROR_H
|
||||||
|
#define _QUARK_ERROR_H
|
||||||
|
|
||||||
enum error_t
|
enum error_t
|
||||||
{
|
{
|
||||||
@@ -7,9 +8,13 @@ enum error_t
|
|||||||
EOUTOFBOUNDS,
|
EOUTOFBOUNDS,
|
||||||
EINVALIDARG,
|
EINVALIDARG,
|
||||||
ENOMEM,
|
ENOMEM,
|
||||||
|
ENOTPRESENT,
|
||||||
EDOESNTEXIST,
|
EDOESNTEXIST,
|
||||||
EEXISTS,
|
EEXISTS,
|
||||||
ENOSYSCALL,
|
ENOSYSCALL,
|
||||||
EPERM,
|
EPERM,
|
||||||
EBUSY
|
EBUSY,
|
||||||
};
|
EEXITED
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user