/* $NetBSD: param.h,v 1.13 2018/05/16 12:40:43 reinoud Exp $ */ /* * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 * Do not modify directly! */ #ifndef _USERMODE_PARAM_H #define _USERMODE_PARAM_H #if defined(__i386__) #include "../../i386/include/param.h" #elif defined(__x86_64__) #include "../../amd64/include/param.h" #elif defined(__arm__) #include "../../arm/include/param.h" #else #error port me #endif #ifdef __arm__ #define MACHINE "evbarm" #define PGSHIFT 12 #define NBPG (1 << PGSHIFT) #define PGOFSET (NBPG - 1) #define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT) #endif #undef UPAGES #define UPAGES 12 #undef USPACE #define USPACE (PAGE_SIZE*UPAGES) #undef NKMEMPAGES_MAX_UNLIMITED #include "opt_kmempages.h" #endif