OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ia64/] [param.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ASM_IA64_PARAM_H
2
#define _ASM_IA64_PARAM_H
3
 
4
/*
5
 * Fundamental kernel parameters.
6
 *
7
 * Based on <asm-i386/param.h>.
8
 *
9
 * Modified 1998, 1999, 2002-2003
10
 *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
11
 */
12
 
13
#define EXEC_PAGESIZE   65536
14
 
15
#ifndef NGROUPS
16
# define NGROUPS        32
17
#endif
18
 
19
#ifndef NOGROUP
20
# define NOGROUP        (-1)
21
#endif
22
 
23
#define MAXHOSTNAMELEN  64      /* max length of hostname */
24
 
25
#ifdef __KERNEL__
26
# include <linux/config.h>      /* mustn't include <linux/config.h> outside of #ifdef __KERNEL__ */
27
# ifdef CONFIG_IA64_HP_SIM
28
  /*
29
   * Yeah, simulating stuff is slow, so let us catch some breath between
30
   * timer interrupts...
31
   */
32
#  define HZ      32
33
# else
34
#  define HZ    1024
35
# endif
36
# define USER_HZ        HZ
37
# define CLOCKS_PER_SEC HZ      /* frequency at which times() counts */
38
#else
39
   /*
40
    * Technically, this is wrong, but some old apps still refer to it.  The proper way to
41
    * get the HZ value is via sysconf(_SC_CLK_TCK).
42
    */
43
# define HZ 1024
44
#endif
45
 
46
#endif /* _ASM_IA64_PARAM_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.