Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 923 → Rev 924

/shark/trunk/include/bits/errno.h
20,15 → 20,14
 
/**
------------
CVS : $Id: errno.h,v 1.4 2003-05-01 19:45:34 pj Exp $
CVS : $Id: errno.h,v 1.5 2005-01-08 14:53:17 pj Exp $
 
File: $File$
Revision: $Revision: 1.4 $
Last update: $Date: 2003-05-01 19:45:34 $
Revision: $Revision: 1.5 $
Last update: $Date: 2005-01-08 14:53:17 $
------------
 
- error codes used as values for errno
- exit values used as values for sys_abort()
 
**/
 
110,32 → 109,37
 
#define LAST_EXC_NUMBER 19
 
// NOW UNUSED: XDOUBLE_EXCEPTION 1
#define XNOMORE_EVENTS 1 /* too many events posted... */
#define XINVALID_KILL_SHADOW 2 /* task_makefree */
#define XNOMORE_CLEANUPS 3 /* task_cleanup_push */
#define XINVALID_TASK 4 /* invalid operation for a task */
// NOW UNUSED: XINVALID_GUEST 5 /* invalid operation for a guest task */
#define XNOMORE_EVENTS 6 /* too many events posted... */
// 5 not used
// 6 not used
#define XDEADLINE_MISS 7
#define XWCET_VIOLATION 8
#define XACTIVATION 9
#define XPANIC_INSIDE_IRQ 10
 
#define XDEADLINE_MISS 7 /* PERIODIC_PCLASS, SPORADIC_PCLASS */
#define XWCET_VIOLATION 8 /* PERIODIC_PCLASS, SPORADIC_PCLASS */
#define XACTIVATION 9 /* PERIODIC_PCLASS, SPORADIC_PCLASS */
#define XMUTEX_OWNER_KILLED 11 /* Mutex */
#define XSRP_INVALID_LOCK 12 /* SRP */
 
#define XMUTEX_OWNER_KILLED 10 /* Mutex */
#define XSRP_INVALID_LOCK 11 /* SRP */
#define XINVALID_DUMMY_OP 13 /* dummy.h hope it will never called... */
#define XINVALID_SS_REPLENISH 14 /* kernel/modules/ss.c */
 
#define XINVALID_DUMMY_OP 12 /* dummy.h hope it will never called... */
#define XINVALID_SS_REPLENISH 13 /* kernel/mosules/ss.c */
#define XUNSPECIFIED_EXCEPTION 15 /* use this when you have to raise
an exception in your module but
you do not want to put too many
exceptions in this file */
 
#define XARP_TABLE_FULL 14 /* drivers/net/arp.c */
#define XARP_TABLE_FULL 16 /* drivers/net/arp.c */
 
#define NETBUFF_EXC_BASE 15
#define NETBUFF_EXC_BASE (XARP_TABLE_FULL+1)
#define XNETBUFF_INIT_EXC (NETBUFF_EXC_BASE + 0)
#define XNETBUFF_GET_EXC (NETBUFF_EXC_BASE + 1)
#define XNETBUFF_ALREADYFREE_EXC (NETBUFF_EXC_BASE + 2)
#define XNETBUFF_RELEASE_EXC (NETBUFF_EXC_BASE + 3)
 
#define UDP_ERROR_BASE 19
#define UDP_ERROR_BASE (NETBUFF_EXC_BASE+4)
#define XUDP_BADCHK_EXC (0 + UDP_ERROR_BASE)