T-Kernel Error Code

参考:tk/errno.h

#define E_OK        0       /* Completed successfully */

#define E_SYS       ERCD(-5, 0) /* System error */
#define E_NOCOP     ERCD(-6, 0) /* Coprocessor disable */
#define E_NOSPT     ERCD(-9, 0) /* Unsupported function */
#define E_RSFN      ERCD(-10, 0)    /* Reserved function code number */
#define E_RSATR     ERCD(-11, 0)    /* Reserved attribute */
#define E_PAR       ERCD(-17, 0)    /* Parameter error */
#define E_ID        ERCD(-18, 0)    /* Incorrect ID number */
#define E_CTX       ERCD(-25, 0)    /* Context error */
#define E_MACV      ERCD(-26, 0)    /* Inaccessible memory/access violation */
#define E_OACV      ERCD(-27, 0)    /* Object access violation */
#define E_ILUSE     ERCD(-28, 0)    /* Incorrect system call use */
#define E_NOMEM     ERCD(-33, 0)    /* Insufficient memory */
#define E_LIMIT     ERCD(-34, 0)    /* Exceed system limits */
#define E_OBJ       ERCD(-41, 0)    /* Incorrect object state */
#define E_NOEXS     ERCD(-42, 0)    /* Object does not exist */
#define E_QOVR      ERCD(-43, 0)    /* Queuing overflow */
#define E_RLWAI     ERCD(-49, 0)    /* Forcibly release wait state */
#define E_TMOUT     ERCD(-50, 0)    /* Polling fail/time out */
#define E_DLT       ERCD(-51, 0)    /* Waited object was deleted */
#define E_DISWAI    ERCD(-52, 0)    /* Release wait caused by wait disable */

#define E_IO        ERCD(-57, 0)    /* Output/input error */
#define E_NOMDA     ERCD(-58, 0)    /* No media */
#define E_BUSY      ERCD(-65, 0)    /* Busy state */
#define E_ABORT     ERCD(-66, 0)    /* Aborted */
#define E_RONLY     ERCD(-67, 0)    /* write protected */


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值