This commit is contained in:
skrll 2021-05-08 13:10:29 +00:00
parent ae706e3c44
commit 4e15d77406
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.27 2020/05/01 08:21:27 isaki Exp $ */
/* $NetBSD: param.h,v 1.28 2021/05/08 13:10:29 skrll Exp $ */
/* $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $ */
@ -41,11 +41,11 @@
#define PGSHIFT 12 /* LOG2(NBPG) */
#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 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 BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
@ -61,7 +61,7 @@
#define USPACE (UPAGES * NBPG) /* pages for user struct and kstack */
#ifndef MSGBUFSIZE
#define MSGBUFSIZE (2*NBPG) /* default message buffer size */
#define MSGBUFSIZE (2 * NBPG) /* default message buffer size */
#endif
/*