[BACK]Return to param.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / hppa / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/hppa/include/param.h between version 1.27 and 1.27.6.2

version 1.27, 2020/05/01 08:21:27 version 1.27.6.2, 2021/06/17 04:46:20
Line 27 
Line 27 
   
 #ifdef _KERNEL  #ifdef _KERNEL
 #include <machine/cpu.h>  #include <machine/cpu.h>
   #ifdef _KERNEL_OPT
   #include "opt_param.h"
   #endif
 #endif  #endif
   
 /*  /*
Line 41 
Line 44 
   
 #define PGSHIFT         12              /* LOG2(NBPG) */  #define PGSHIFT         12              /* LOG2(NBPG) */
 #define NBPG            (1 << PGSHIFT)  /* bytes/page */  #define NBPG            (1 << PGSHIFT)  /* bytes/page */
 #define PGOFSET         (NBPG-1)        /* byte offset into page */  #define PGOFSET         (NBPG - 1)      /* byte offset into page */
   
 #define SEGSHIFT        (PGSHIFT + (PGSHIFT-PTESHIFT))  /* LOG2(NBSEG) */  #define SEGSHIFT        (PGSHIFT + (PGSHIFT-PTESHIFT))  /* LOG2(NBSEG) */
 #define NBSEG           (1 << SEGSHIFT) /* bytes/segment (quadrant) */  #define NBSEG           (1 << SEGSHIFT) /* bytes/segment (quadrant) */
 #define SEGOFSET        (NBSEG-1)       /* byte offset into segment */  #define SEGOFSET        (NBSEG - 1)     /* byte offset into segment */
   
 #define KERNBASE        0x00000000      /* start of kernel virtual */  #define KERNBASE        0x00000000      /* start of kernel virtual */
 #define BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)  #define BTOPKERNBASE    ((u_long)KERNBASE >> PGSHIFT)
Line 61 
Line 64 
 #define USPACE          (UPAGES * NBPG) /* pages for user struct and kstack */  #define USPACE          (UPAGES * NBPG) /* pages for user struct and kstack */
   
 #ifndef MSGBUFSIZE  #ifndef MSGBUFSIZE
 #define MSGBUFSIZE      (2*NBPG)        /* default message buffer size */  #define MSGBUFSIZE      (2 * NBPG)      /* default message buffer size */
 #endif  #endif
   
 /*  /*

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.27.6.2

CVSweb <webmaster@jp.NetBSD.org>