Lines Matching defs:NCPU
69 * Maximum cpuid value that we support. NCPU can be defined in a platform's
73 #define NCPU 64
75 #ifndef NCPU
76 #define NCPU 32
80 #if (NCPU <= 1)
82 #elif (NCPU <= 2)
84 #elif (NCPU <= 4)
86 #elif (NCPU <= 8)
88 #elif (NCPU <= 16)
90 #elif (NCPU <= 32)
92 #elif (NCPU <= 64)
94 #elif (NCPU <= 128)
96 #elif (NCPU <= 256)
98 #elif (NCPU <= 512)
100 #elif (NCPU <= 1024)
103 #error "add test for larger NCPU"
106 /* NCPU_P2 is NCPU rounded to a power of 2 */
115 #define MAX_CPU_CHIPID NCPU
265 #define PPMAP_FAST_SIZE (MAXPP_SLOTS * PAGESIZE * NCPU)