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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ia64/] [mmzone.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
/*
2
 * This file is subject to the terms and conditions of the GNU General Public
3
 * License.  See the file "COPYING" in the main directory of this archive
4
 * for more details.
5
 *
6
 * Copyright (c) 2000,2003 Silicon Graphics, Inc.  All rights reserved.
7
 * Copyright (c) 2002 NEC Corp.
8
 * Copyright (c) 2002 Erich Focht <efocht@ess.nec.de>
9
 * Copyright (c) 2002 Kimio Suganuma <k-suganuma@da.jp.nec.com>
10
 */
11
#ifndef _ASM_IA64_MMZONE_H
12
#define _ASM_IA64_MMZONE_H
13
 
14
#include <linux/config.h>
15
#include <linux/init.h>
16
 
17
 
18
#ifdef CONFIG_NUMA
19
 
20
#ifdef CONFIG_IA64_DIG
21
 
22
/*
23
 * Platform definitions for DIG platform with contiguous memory.
24
 */
25
#define MAX_PHYSNODE_ID 8               /* Maximum node number +1 */
26
#define NR_NODES        8               /* Maximum number of nodes in SSI */
27
#define NR_MEMBLKS      (NR_NODES * 32)
28
 
29
 
30
 
31
 
32
#elif CONFIG_IA64_SGI_SN2
33
 
34
/*
35
 * Platform definitions for DIG platform with contiguous memory.
36
 */
37
#define MAX_PHYSNODE_ID 2048            /* Maximum node number +1 */
38
#define NR_NODES        256             /* Maximum number of compute nodes in SSI */
39
#define NR_MEMBLKS      (NR_NODES)
40
 
41
#elif CONFIG_IA64_GENERIC
42
 
43
 
44
/*
45
 * Platform definitions for GENERIC platform with contiguous or discontiguous memory.
46
 */
47
#define MAX_PHYSNODE_ID 2048            /* Maximum node number +1 */
48
#define NR_NODES        256             /* Maximum number of nodes in SSI */
49
#define NR_MEMBLKS      (NR_NODES)
50
 
51
 
52
#else
53
#error unknown platform
54
#endif
55
 
56
extern void build_cpu_to_node_map(void);
57
 
58
#else /* CONFIG_NUMA */
59
 
60
#define NR_NODES        1
61
 
62
#endif /* CONFIG_NUMA */
63
#endif /* _ASM_IA64_MMZONE_H */

powered by: WebSVN 2.1.0

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