Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 570 → Rev 571

/shark/trunk/include/kernel/func.h
21,11 → 21,11
 
/**
------------
CVS : $Id: func.h,v 1.12 2004-04-18 20:18:49 giacomo Exp $
CVS : $Id: func.h,v 1.13 2004-04-19 15:25:38 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.12 $
Last update: $Date: 2004-04-18 20:18:49 $
Revision: $Revision: 1.13 $
Last update: $Date: 2004-04-19 15:25:38 $
------------
 
Kernel functions:
305,6 → 305,10
The error code passed is 0... +*/
void sys_abort(int err);
 
/*+ As sys_abort, but it works when the system is
in shutdown mode +*/
void sys_abort_shutdown(int err);
 
/* The system implements also exit and _exit as a redefinition of sys_end
This is not the correct behaviour, and should be fixed.
The definitions for these functions are in kernel/kern.c
/shark/trunk/include/kernel/const.h
16,11 → 16,11
 
/**
------------
CVS : $Id: const.h,v 1.5 2004-04-18 20:18:49 giacomo Exp $
CVS : $Id: const.h,v 1.6 2004-04-19 15:25:38 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.5 $
Last update: $Date: 2004-04-18 20:18:49 $
Revision: $Revision: 1.6 $
Last update: $Date: 2004-04-19 15:25:38 $
------------
 
System constants:
165,8 → 165,5
#define RUNLEVEL_MASK 0x7 /*+ a mask used into kernel/init.c +*/
#define NO_AT_ABORT 8 /*+ only when sys_end is called +*/
 
/*+ RUNLEVEL_SHUTDOWN timeout +*/
#define SYSTEM_CLOSE_TIMEOUT 3
 
#endif /* __CONST_H__ */