⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errors.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的操作系统pSOS。包括全部源码
💻 H
📖 第 1 页 / 共 2 页
字号:
/* @(#) $Id: ks_errno.h,v 1.2 1999/04/22 21:52:24 vdeokar Exp $ *//***********************************************************************//*                                                                     *//*   MODULE:  KS_ERRNO.H                                               *//*   PRODUCT: PSOS/POWERPC                                             *//*   PURPOSE: Definition of Error codes for the pSOS+ component.       *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*           Copyright 1991 - 1998, Integrated Systems, Inc.           *//*                      ALL RIGHTS RESERVED                            *//*                                                                     *//*   Permission is hereby granted to licensees of Integrated Systems,  *//*   Inc. products to use or abstract this computer program for the    *//*   sole purpose of implementing a product based on Integrated        *//*   Systems, Inc. products.   No other rights to reproduce, use,      *//*   or disseminate this computer program, whether in part or in       *//*   whole, are granted.                                               *//*                                                                     *//*   Integrated Systems, Inc. makes no representation or warranties    *//*   with respect to the performance of this computer program, and     *//*   specifically disclaims any responsibility for any damages,        *//*   special or consequential, connected with the use of this program. *//*                                                                     *//***********************************************************************/#ifndef _PSOS_ERRNO_H#define _PSOS_ERRNO_H#ifdef __cplusplusextern "C" {#endif/*---------------------------------------------------------------------*//* Definition of errno macro                                           *//*---------------------------------------------------------------------*/#ifndef errno int *errno_addr(void);#define errno (*(int *)(errno_addr())) #endif/***********************************************************************//*                                                                     *//*                 p S O S +    E r r o r    C o d e s                 *//*                                                                     *//***********************************************************************/ /*---------------------------------------------------------------------*//* Common Errors (across several service groups)                       *//*---------------------------------------------------------------------*/#define ERR_TIMEOUT  0x01     /* Timed out; returned only if timeout   */                              /* was requested                         */#define ERR_SSFN     0x03     /* Illegal system service function number*/#define ERR_NODENO   0x04     /* Node specifier out of range           */#define ERR_OBJDEL   0x05     /* Object has been deleted               */#define ERR_OBJID    0x06     /* Objct_id is incorrect failed validity */                              /* check                                 */#define ERR_OBJTYPE  0x07     /* Incorrect Object type                 */#define ERR_OBJTFULL 0x08     /* Node's Object table full              */#define ERR_OBJNF    0x09     /* Named Object not found                */ /*---------------------------------------------------------------------*//* Task Service Group Errors                                           *//*---------------------------------------------------------------------*/#define ERR_RSTFS    0x0D     /* Informative; files may be corrupted   */                              /* on restart                            */#define ERR_NOTCB    0x0E     /* Exceeds node's maximum number of tasks*/#define ERR_NOSTK    0x0F     /* No stack space                        */#define ERR_TINYSTK  0x10     /* Stack too small                       */#define ERR_PRIOR    0x11     /* Priority out of range                 */#define ERR_ACTIVE   0x12     /* Task already started                  */#define ERR_NACTIVE  0x13     /* Cannot restart; this task never was   */                              /* started                               */#define ERR_SUSP     0x14     /* Task already suspended                */#define ERR_NOTSUSP  0x15     /* The task was not suspended            */#define ERR_SETPRI   0x16     /* Cannot change priority; new priority  */                              /* out of range                          */#define ERR_REGNUM   0x17     /* Register number out of range          */#define ERR_DELFS    0x18     /* pHILE+ resources in use               */#define ERR_DELLC    0x19     /* pREPC+ resources in use               */#define ERR_DELNS    0x1A     /* pNA+ resources in use                 */ /*---------------------------------------------------------------------*//* Region Service Group Errors                                         *//*---------------------------------------------------------------------*/#define ERR_RNADDR   0x1B     /* Starting address not on long word     */                              /* boundary                              */#define ERR_UNITSIZE 0x1C     /* Illegal unit_size -- must be power of */                              /* 2 and >= 16                           */#define ERR_TINYUNIT 0x1D     /* Length too large (for given unit_size)*/#define ERR_TINYRN   0x1E     /* Cannot create; region length too small*/                              /* to hold RNCB                          */#define ERR_SEGINUSE 0x1F     /* Cannot delete; one or more segments   */                              /* still in use                          */#define ERR_ZERO     0x20     /* Cannot getseg; request size of zero is*/                              /* illegal                               */#define ERR_TOOBIG   0x21     /* Cannot getseg; request size is too big*/                              /* for region                            */#define ERR_NOSEG    0x22     /* No free segment; only if RN_NOWAIT    */                              /* attribute used                        */#define ERR_NOTINRN  0x23     /* Segment does not belong to this region*/#define ERR_SEGADDR  0x24     /* Incorrect segment starting address    */#define ERR_SEGFREE  0x25     /* Segment is already unallocated        */#define ERR_RNKILLD  0x26     /* Cannot getseg; region deleted while   */                              /* waiting                               */#define ERR_TATRNDEL 0x27     /* Informative only; there were tasks    */                              /* waiting                               */ /*---------------------------------------------------------------------*//* Partition Service Group Errors                                      *//*---------------------------------------------------------------------*/#define ERR_PTADDR   0x28     /* Starting address not on long word     */                              /* boundary                              */#define ERR_BUFSIZE  0x29     /* Buffer size not power of 2, or less   */                              /* than 4 bytes                          */#define ERR_TINYPT   0x2A     /* Length too small to hold PTCB         */#define ERR_BUFINUSE 0x2B     /* Cannot delete; one or more buffers    */                              /* still in use                          */#define ERR_NOBUF    0x2C     /* Cannot allocate; partition out of free*/                              /* buffers                               */#define ERR_BUFADDR  0x2D     /* Incorrect buffer starting address     */#define ERR_BUFFREE  0x2F     /* Buffer is already unallocated         */ /*---------------------------------------------------------------------*//* Queue and Message Service Group Errors                              *//*---------------------------------------------------------------------*/#define ERR_KISIZE   0x30     /* Message length exceeds KI maximum     */                              /* packet buffer length                  */#define ERR_MSGSIZ   0x31     /* Message length exceeds maximum message*/                              /* length specified while creating the Q */#define ERR_BUFSIZ   0x32     /* Buffer too small to receive message   */#define ERR_NOQCB    0x33     /* Cannot create QCB; exceeds node's     */                              /* maximum number of active queues       */#define ERR_NOMGB    0x34     /* Cannot allocate private buffers; too  */                              /* few available                         */#define ERR_QFULL    0x35     /* Message queue at length limit         */#define ERR_QKILLD   0x36     /* Queue deleted while task waiting      */#define ERR_NOMSG    0x37     /* Queue empty; this error code is       */                              /* returned only if Q_NOWAIT was selected*/#define ERR_TATQDEL  0x38     /* Informative only; there were tasks    */                              /* waiting at the queue                  */#define ERR_MATQDEL  0x39     /* Informative only; there were messages */                              /* pending in the queue                  */#define ERR_VARQ     0x3A     /* Queue is variable size                */#define ERR_NOTVARQ  0x3B     /* Queue is not variable size            */ /*---------------------------------------------------------------------*//* Event/Asynch Signal Service Group Errors                            *//*---------------------------------------------------------------------*/#define ERR_NOEVS    0x3C     /* Selected events not pending this error*/                              /* code is returned only if the EV_NOWAIT*/                              /* attribute was selected                */#define ERR_NOTINASR 0x3E     /* Illegal, not called from an ASR       */#define ERR_NOTIFY   0x3D     /* Could not send a notification event   */#define ERR_NOASR    0x3F     /* Task has no valid ASR                 */ /*---------------------------------------------------------------------*//* Semaphore Service Group Errors                                      *//*---------------------------------------------------------------------*/#define ERR_NOSCB    0x41     /* Exceeds node's maximum number of      */                              /* semaphores                            */#define ERR_NOSEM    0x42     /* No semaphore; this error code is      */                              /* returned only if SM_NOWAIT selected   */#define ERR_SKILLD   0x43     /* Semaphore deleted while task waiting  */#define ERR_TATSDEL  0x44     /* Informative only; there were tasks    */                              /* waiting                               */#define ERR_BOUND    0x45     /* Max. # of tokens already available for*/                              /* a bounded semaphore                   */#define ERR_INVBOUND 0x46     /* Zero bound count is invalid           */ /*---------------------------------------------------------------------*//* Time Service Group Errors                                           *//*---------------------------------------------------------------------*/#define ERR_NOTIME   0x47     /* System time and date not yet set      */#define ERR_ILLDATE  0x48     /* Date input out of range               */#define ERR_ILLTIME  0x49     /* Time of day input out of range        */#define ERR_ILLTICKS 0x4A     /* Ticks input out of range              */#define ERR_NOTIMERS 0x4B     /* Exceeds maximum number of configured  */                              /* timers                                */#define ERR_BADTMID  0x4C     /* tmid invalid                          */#define ERR_TMNOTSET 0x4D     /* Timer not armed or already expired    */#define ERR_TOOLATE  0x4E     /* Too late; date and time input already */                              /* in the past                           */ /*---------------------------------------------------------------------*//* Multiprocessor Support Service Group Errors                         *//*---------------------------------------------------------------------*/#define ERR_ILLRSC   0x53     /* Object not created from this node     */#define ERR_NOAGNT   0x54     /* Cannot wait; the remote node is out   */                              /* of Agents                             */#define ERR_AGTBLKD  0x55     /* Agent blocked.  This is not an error. */ #define ERR_STALEID  0x65     /* Object does not exist any more        */#define ERR_NDKLD    0x66     /* Remote Node no longer in service      */#define ERR_MASTER   0x67     /* Cannot terminate Master node          */ /*---------------------------------------------------------------------*//* Mapping and Protection Service Group Errors                         *//*---------------------------------------------------------------------*/#define ERR_PALIGN   0x5A     /* PADDR not page-aligned                */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -