Changed #include guards in physaddr.h, added now error codes

This commit is contained in:
2022-08-23 12:55:39 -05:00
parent f76b8cab43
commit 9c37167c5e

View File

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