1/* $NetBSD: param.h,v 1.13 2018/05/16 12:40:43 reinoud Exp $ */ 2 3/* 4 * Automatically generated by ./genheaders.sh on Wed May 16 14:39:02 CEST 2018 5 * Do not modify directly! 6 */ 7#ifndef _USERMODE_PARAM_H 8#define _USERMODE_PARAM_H 9 10#if defined(__i386__) 11#include "../../i386/include/param.h" 12#elif defined(__x86_64__) 13#include "../../amd64/include/param.h" 14#elif defined(__arm__) 15#include "../../arm/include/param.h" 16#else 17#error port me 18#endif 19#ifdef __arm__ 20#define MACHINE "evbarm" 21#define PGSHIFT 12 22#define NBPG (1 << PGSHIFT) 23#define PGOFSET (NBPG - 1) 24#define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT) 25#endif 26#undef UPAGES 27#define UPAGES 12 28#undef USPACE 29#define USPACE (PAGE_SIZE*UPAGES) 30 31#undef NKMEMPAGES_MAX_UNLIMITED 32#include "opt_kmempages.h" 33 34 35#endif 36