2005-04-16 16:20:36 -06:00
|
|
|
#ifndef _UM_PARAM_H
|
|
|
|
#define _UM_PARAM_H
|
|
|
|
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
|
|
|
|
#ifndef NOGROUP
|
|
|
|
#define NOGROUP (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
2008-02-04 23:31:19 -07:00
|
|
|
#define HZ CONFIG_HZ
|
2005-04-16 16:20:36 -06:00
|
|
|
#define USER_HZ 100 /* .. some user interfaces are in "ticks" */
|
|
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
2008-05-14 17:05:42 -06:00
|
|
|
#else
|
|
|
|
#define HZ 100
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|