~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/sn/sn0/arch.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  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  * SGI IP27 specific setup.
  7  *
  8  * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc.
  9  * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
 10  */
 11 #ifndef _ASM_SN_SN0_ARCH_H
 12 #define _ASM_SN_SN0_ARCH_H
 13 
 14 
 15 /*
 16  * MAXCPUS refers to the maximum number of CPUs in a single kernel.
 17  * This is not necessarily the same as MAXNODES * CPUS_PER_NODE
 18  */
 19 #define MAXCPUS                 (MAX_NUMNODES * CPUS_PER_NODE)
 20 
 21 /*
 22  * This is the maximum number of NASIDS that can be present in a system.
 23  * (Highest NASID plus one.)
 24  */
 25 #define MAX_NASIDS              256
 26 
 27 /*
 28  * MAX_REGIONS refers to the maximum number of hardware partitioned regions.
 29  */
 30 #define MAX_REGIONS             64
 31 #define MAX_NONPREMIUM_REGIONS  16
 32 #define MAX_PREMIUM_REGIONS     MAX_REGIONS
 33 
 34 /*
 35  * MAX_PARITIONS refers to the maximum number of logically defined
 36  * partitions the system can support.
 37  */
 38 #define MAX_PARTITIONS          MAX_REGIONS
 39 
 40 #define NASID_MASK_BYTES        ((MAX_NASIDS + 7) / 8)
 41 
 42 /*
 43  * Slot constants for SN0
 44  */
 45 #ifdef CONFIG_SGI_SN_N_MODE
 46 #define MAX_MEM_SLOTS   16                      /* max slots per node */
 47 #else /* !CONFIG_SGI_SN_N_MODE, assume CONFIG_SGI_SN_M_MODE */
 48 #define MAX_MEM_SLOTS   32                      /* max slots per node */
 49 #endif /* CONFIG_SGI_SN_M_MODE */
 50 
 51 #define SLOT_SHIFT              (27)
 52 #define SLOT_MIN_MEM_SIZE       (32*1024*1024)
 53 
 54 #define CPUS_PER_NODE           2       /* CPUs on a single hub */
 55 
 56 #endif /* _ASM_SN_SN0_ARCH_H */
 57 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php