From 9c37167c5ecd14d729e32b13c51b786b2824b3ff Mon Sep 17 00:00:00 2001 From: ngiddings Date: Tue, 23 Aug 2022 12:55:39 -0500 Subject: [PATCH] Changed #include guards in physaddr.h, added now error codes --- include/types/status.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/types/status.h b/include/types/status.h index c371b01..60eec73 100644 --- a/include/types/status.h +++ b/include/types/status.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef _QUARK_ERROR_H +#define _QUARK_ERROR_H enum error_t { @@ -7,9 +8,13 @@ enum error_t EOUTOFBOUNDS, EINVALIDARG, ENOMEM, + ENOTPRESENT, EDOESNTEXIST, EEXISTS, ENOSYSCALL, EPERM, - EBUSY -}; \ No newline at end of file + EBUSY, + EEXITED +}; + +#endif \ No newline at end of file