diff options
| author | Shell <[email protected]> | 2023-10-21 20:14:45 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-21 20:14:45 +0800 |
| commit | 70a8d1d4656bc678ddada5e56263c9cb4423a623 (patch) | |
| tree | b81b97a4f4cf33df2b1a02742e80de218da51333 /include/rtdef.h | |
| parent | 90c7089d47755a3edaf9008282225c5019fa188c (diff) | |
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 13a3c743ad..eb0d66b06c 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -421,6 +421,7 @@ typedef int (*init_fn_t)(void); #define RT_ENOENT ENOENT /**< No entry */ #define RT_ENOSPC ENOSPC /**< No space left */ #define RT_EPERM EPERM /**< Operation not permitted */ +#define RT_EFAULT EFAULT /**< Bad address */ #define RT_ETRAP 254 /**< Trap event */ #else #define RT_EOK 0 /**< There is no error */ @@ -438,6 +439,7 @@ typedef int (*init_fn_t)(void); #define RT_ENOSPC 12 /**< No space left */ #define RT_EPERM 13 /**< Operation not permitted */ #define RT_ETRAP 14 /**< Trap event */ +#define RT_EFAULT 15 /**< Bad address */ #endif /* defined(RT_USING_LIBC) && !RT_USING_LIBC_ISO_ONLY */ /**@}*/ |
