36 lines
778 B
C
36 lines
778 B
C
/* $NetBSD: param.h,v 1.12 2013/11/10 19:52:01 jmcneill Exp $ */
|
|
|
|
/*
|
|
* Automatically generated by genheaders.sh on Sun Nov 10 15:47:58 AST 2013
|
|
* 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
|