summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorShell <[email protected]>2023-01-09 10:08:55 +0800
committerGitHub <[email protected]>2023-01-08 21:08:55 -0500
commit7450ef6c4d71f992444d27f4a26c16f813ed8e55 (patch)
tree1d9b450d85c2c048cae2410e97ef9edfc2868323 /include/rtdef.h
parent7f9ccd3c809afa6b54f0d453f2edcc8367a6aeb8 (diff)
[rt-smart] kernel virtual memory management layer (#6809)
synchronize virtual memory system works. adding kernel virtual memory management layer for page-based MMU enabled architecture porting libcpu MMU codes porting lwp memory related codes
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 593bd856b3..82c41f73c1 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -356,7 +356,9 @@ typedef int (*init_fn_t)(void);
#define RT_EIO 8 /**< IO error */
#define RT_EINTR 9 /**< Interrupted system call */
#define RT_EINVAL 10 /**< Invalid argument */
-#define RT_ETRAP 11 /**< trap event */
+#define RT_ETRAP 11 /**< Trap event */
+#define RT_ENOENT 12 /**< No entry */
+#define RT_ENOSPC 13 /**< No space left */
/**@}*/