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