📄 errors.h
字号:
#define ERR_LALIGN 0x5B /* LADDR not on section boundary */#define ERR_UNMAPPED 0x5C /* Logical address is not mapped */#define ERR_SUPER 0x5D /* Cannot affect supervisor map */#define ERR_TOOMUCH 0x5E /* Copy length too long; past section */ /* end */#define ERR_MAPPED 0x5F /* Section is already mapped */#define ERR_NOSECT 0x60 /* No more unused section available */#define ERR_ZEROMAP 0x61 /* Cannot map to zero memory */#define ERR_TOOLONG 0x62 /* Length greater than section */#define ERR_SWITCH 0x63 /* Illegal task mode switch */ /*---------------------------------------------------------------------*//* IO Service Group Errors *//*---------------------------------------------------------------------*/#define ERR_IODN 0x101 /* Illegal device (major) number */#define ERR_NODR 0x102 /* No driver provided */#define ERR_IOOP 0x103 /* Illegal I/O function number */ #define ERR_DNAME 0x105 /* Illegal device name */#define ERR_DNLEN 0x106 /* Device name too long */#define ERR_DNTFULL 0x107 /* DNT is full */#define ERR_DNMAJOR 0X108 /* Major number illegal */#define ERR_DNDUP 0x109 /* Duplicate device name */#define ERR_DNNFOUND 0x110 /* Name not found */ #define ERR_IOJUSE 0x113 /* Specified entry already bound */#define ERR_IOJFULL 0x114 /* IO jUMP table full */#define ERR_NBOUND 0x115 /* Specified entry not bound */#define ERR_IOPROT 0x116 /* Entry is protected */#define ERR_IONLOCK 0x117 /* Lock count is already 0 */ /*---------------------------------------------------------------------*//* Mutexes and condition_variable errors *//*---------------------------------------------------------------------*/#define ERR_NOMUCB 0x70 /* Exceeds node's maximum number of */ /* mutexes */#define ERR_NOGLOBAL 0x71 /* MUGLOB can't be specified with */ /* MUINHERIT */#define ERR_TATMUDEL 0x72 /* There were tasks waiting on the */ /* mutex */#define ERR_NOTOWNED 0x73 /* Mutex not owned by calling task */#define ERR_NORECURSIVE 0x74 /* Recursive acquisition of this mutex */ /* is not allowed */#define ERR_MULOCKED 0x75 /* A different task owns the lock */#define ERR_MUKILLD 0x76 /* Mutex deleted when task was waiting */ /* on it */#define ERR_NOFIFO 0x77 /* No FIFO queueing for MU_PROT mutexes */#define ERR_NOPROTECT 0x78 /* MU_PRIO_PROTECT flag can't be */ /* specified with embedded mutexes */#define ERR_OWNMUTX 0x79 /* Task currently owns mutexes */#define ERR_OUTCEIL 0x7A /* Priority of task exceeds ceiling */ /* priority of mutex */#define ERR_BLKTASK 0x7B /* Internal pSOS+ error */#define ERR_NOCVCB 0x80 /* Exceeds node's max no. of CVs */#define ERR_TATCVDEL 0x81 /* There were tasks waiting on the CV */#define ERR_CVKILLD 0x82 /* CV deleted while task was waiting */ /* on it */#define ERR_DIFFMU 0x83 /* CV is currently being used with a */ /* diff mutex */#define ERR_DIFFNODE 0x84 /* CV and mutex were created on diff */ /* nodes */ #define ERR_MUID 0x88 /* CV_WAIT - MUID is incorrect */#define ERR_MUDEL 0x89 /* CV_WAIT - MUTEX has already been */ /* deleted */ #define ERR_MUTYPE 0x8A /* Expected mutex object, failed validity*/#define ERR_CVWAIT 0x8D /* Unexpected error in cv_wait */ /*---------------------------------------------------------------------*//* More Task Service Group Errors *//*---------------------------------------------------------------------*/#define ERR_TSLICE 0x8F /* Time slice value out of range */ #define ERR_NOTVCB 0x90 /* Cannot create - No more task var */#define ERR_TVEXIST 0x91 /* Cannot create - Task var exists */ #define ERR_TVADDR 0x92 /* Cannot create - Invalid Task var addr */#define ERR_TVNF 0x93 /* Cannot delete - Task var not found */#define ERR_MODE 0x94 /* Cannot start supv mode task from usr */ /* mode task *//*---------------------------------------------------------------------*//* Callout registration service errors *//*---------------------------------------------------------------------*/#define ERR_BADCOID 0xA0 /* Bad callout control block ID */#define ERR_NOCOCB 0xA1 /* No callout control blocks left */#define ERR_BADCOTYPE 0xA2 /* Bad CO type passed to co_register */#define ERR_COINPROG 0xA3 /* Callout is in progress */#define ERR_DELETING 0xA4 /* Task is being deleted */ /*---------------------------------------------------------------------*//* Task-specific Data service group errors *//*---------------------------------------------------------------------*/#define ERR_TSDDUP 0xB0 /* Module w. this name already created*/#define ERR_NOTSDCB 0xB1 /* No more free entries in TSD array */#define ERR_TSDIX 0xB2 /* Validity check failed for index */#define ERR_INVTSDFLG 0xB3 /* Invalid combination of create flags*/ /*---------------------------------------------------------------------*//* Errors for Query Services *//*---------------------------------------------------------------------*/#define ERR_INVKEY 0xB8 /* Invalid key arg to sys_info */#define ERR_MAXREP 0xB9 /* After many tries, couldn't get info */ /* because of obj create/deletes in sys*//*---------------------------------------------------------------------*//* Service call extension service group errors *//*---------------------------------------------------------------------*/#define ERR_INVSCMAJOR 0xC0 /* Invld no. for usr-defined comp (UDC)*/#define ERR_INVSCMINOR 0xC1 /* Invld no. for sub-comp of UDC */#define ERR_INVSCNCALLS 0xC2 /* Invld no. of svccalls in a svcjtab */#define ERR_REGISTERED 0xC3 /* Svcjtab already registerd */#define ERR_NOTREGISTERED 0xC4 /* Svcjtab not yet registered */#define ERR_SCACTIVE 0xC5 /* Svcjtab in active use; ret w NOWAIT */#define ERR_SCBLKD 0xC6 /* Add/repl/unreg for this jtab blocked*/#define ERR_FNCODE 0xC7 /* Function code passed is invalid */ /*---------------------------------------------------------------------*//* Fatal Errors During Startup *//*---------------------------------------------------------------------*/#define FAT_ALIGN 0xF00 /* Region 0 must be aligned on a long */ /* word boundary */#define FAT_OVSDA 0xF01 /* Region 0 overflow while making system */ /* data area */#define FAT_OVOBJT 0xF02 /* Region 0 overflow while making object */ /* table */#define FAT_OVDDAT 0xF03 /* Region 0 overflow while making device */ /* data area table */#define FAT_OVTCB 0xF04 /* Region 0 overflow while making task */ /* structures */#define FAT_OVQCB 0xF05 /* Region 0 overflow while making queue */ /* structures */#define FAT_OVSMCB 0xF06 /* Region 0 overflow while making sema- */ /* phore structures */#define FAT_OVTM 0xF07 /* Region 0 overflow while making timer */ /* structures */#define FAT_OVPT 0xF08 /* Region 0 overflow while making parti- */ /* tion structures */#define FAT_OVRSC 0xF09 /* Region 0 overflow while making RSC */ /* structures */#define FAT_OVRN 0xF0A /* Region 0 overflow while making region */ /* structures */#define FAT_OVMM 0xF0B /* Region 0 overflow while making MMU */ /* structures */#define FAT_ROOT 0xF0C /* Cannot create root task */#define FAT_IDLE 0xF0D /* Cannot create idle task */#ifndef FAT_CHKSUM /* (To avoid collision with pna.h) */#define FAT_CHKSUM 0xF0E /* Checksum error */#endif#define FAT_INVCPU 0xF0F /* Wrong processor type */#define FAT_MMUSET 0xF10 /* MMU already enabled with bad setting */#define FAT_R0UNIT 0xF11 /* Region 0 unit size must match MMU */#define FAT_DEVINIT 0xF1B /* Error while initializing a device */ /*---------------------------------------------------------------------*//* Fatal Errors During Multiprocessor Operations *//*---------------------------------------------------------------------*/#define FAT_ILLPKT 0xF12 /* Illegal packet type in the received */ /* packet */#define FAT_MIVERIF 0xF13 /* Multiprocessor configuration mismatch */ /* at system verify */#define FAT_NODENUM 0xF15 /* Node # = 0 in Multi-Proc config table */#define FAT_NNODES 0xF16 /* Total #of nodes = 0 or>2 ** 14 in mpct*/#define FAT_OVMP 0xF17 /* Region 0 overflow while making roster */ /* and seq.# tables) */#define FAT_KIMAXBUF 0xF18 /* KI_MAXBUF entry is smaller than reqed */#define FAT_ASYNCERR 0xF19 /* Asynchronous call error - no user CO */ #define FAT_JN2SOON 0xF20 /* Slave node joined too soon ! */#define FAT_MAXSEQ 0xF21 /* Maximum sequence # reached-can't wrap */#define FAT_JRQATSLV 0xF22 /* Join request was sent to a slave node */ #define FAT_OVMUCB 0xF30 /* Data area exhausted: mutex structures */#define FAT_OVCVCB 0xF31 /* Data area exhausted: cvar structures */#define FAT_OVMUGENT 0xF32 /* Data area exhausted: mugent structures*/#define FAT_MUGENTNF 0xF33 /* MUGENT expected to be in a task's */ /* ownership Q is not found */ /*---------------------------------------------------------------------*//* Fatal errors generated by IO supervisor code *//*---------------------------------------------------------------------*/#define FAT_KCDNLEN 0xF35 /* KC_DNLEN is invalid */#define FAT_OVDNT 0xF36 /* Data area exhausted: allocating DNT */#define FAT_KCMAXIO 0xF3D /* KC_MAXIO should be 0, or >= KC_NIO */#define FAT_KCNIO 0xF3E /* IOJTABLE is NULL, while NIO is non 0 */#define FAT_OVIOJT 0xF3F /* data area exhausted: allocating IOJ */ /* TABLE */#define FAT_OVTVCB 0xF40 /* Data area exhausted: taskv structure */#define FAT_OVCOCB 0xF41 /* Data area exhausted: COCB structure */#define FAT_OVTSD 0xF42 /* Data area exhausted: TSD structure */#define FAT_OVSC 0xF43 /* Data area exhausted: UDC structure */#define FAT_STKOVF 0xFA0 /* Stack overflow of current task */#ifdef __cplusplus }#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -