summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/include/param.h
blob: 382ad8da4633bdfcd2ec71440440959f7c23f19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* $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