Changeset View
Changeset View
Standalone View
Standalone View
head/sys/riscv/include/param.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
#ifndef MACHINE | #ifndef MACHINE | ||||
#define MACHINE "riscv" | #define MACHINE "riscv" | ||||
#endif | #endif | ||||
#ifndef MACHINE_ARCH | #ifndef MACHINE_ARCH | ||||
#define MACHINE_ARCH "riscv64" | #define MACHINE_ARCH "riscv64" | ||||
#endif | #endif | ||||
#if defined(SMP) || defined(KLD_MODULE) | #ifdef SMP | ||||
#ifndef MAXCPU | #ifndef MAXCPU | ||||
#define MAXCPU 16 | #define MAXCPU 16 | ||||
#endif | #endif | ||||
#else | #else | ||||
#define MAXCPU 1 | #define MAXCPU 1 | ||||
#endif /* SMP || KLD_MODULE */ | #endif | ||||
#ifndef MAXMEMDOM | #ifndef MAXMEMDOM | ||||
#define MAXMEMDOM 1 | #define MAXMEMDOM 1 | ||||
#endif | #endif | ||||
#define ALIGNBYTES _ALIGNBYTES | #define ALIGNBYTES _ALIGNBYTES | ||||
#define ALIGN(p) _ALIGN(p) | #define ALIGN(p) _ALIGN(p) | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |