Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Whitespace and whitespace consistency



details:   https://anonhg.NetBSD.org/src/rev/5e5d22afaa28
branches:  trunk
changeset: 452134:5e5d22afaa28
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jun 19 09:55:27 2019 +0000

description:
Whitespace and whitespace consistency

diffstat:

 sys/arch/mips/include/mips_param.h |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (43 lines):

diff -r 454c7799e2c7 -r 5e5d22afaa28 sys/arch/mips/include/mips_param.h
--- a/sys/arch/mips/include/mips_param.h        Wed Jun 19 09:54:42 2019 +0000
+++ b/sys/arch/mips/include/mips_param.h        Wed Jun 19 09:55:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_param.h,v 1.39 2019/05/11 06:50:42 skrll Exp $    */
+/*     $NetBSD: mips_param.h,v 1.40 2019/06/19 09:55:27 skrll Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -93,24 +93,24 @@
 #define        PGSHIFT         12              /* LOG2(NBPG) */
 #endif
 #define        NBPG            (1 << PGSHIFT)  /* bytes/page */
-#define        PGOFSET         (NBPG-1)        /* byte offset into page */
+#define        PGOFSET         (NBPG - 1)      /* byte offset into page */
 #define        PTPSHIFT        2
-#define        PTPLENGTH       (PGSHIFT-PTPSHIFT)
+#define        PTPLENGTH       (PGSHIFT - PTPSHIFT)
 #define        NPTEPG          (1 << PTPLENGTH)
 
-#define SEGSHIFT       (PGSHIFT+PTPLENGTH)     /* LOG2(NBSEG) */
-#define NBSEG          (1 << SEGSHIFT) /* bytes/segment */
+#define        SEGSHIFT        (PGSHIFT + PTPLENGTH)   /* LOG2(NBSEG) */
+#define        NBSEG           (1 << SEGSHIFT) /* bytes/segment */
 #define        SEGOFSET        (NBSEG-1)       /* byte offset into segment */
 
 #ifdef _LP64
-#define        SEGLENGTH       (PGSHIFT-3)
-#define        XSEGSHIFT       (SEGSHIFT+SEGLENGTH)    /* LOG2(NBXSEG) */
+#define        SEGLENGTH       (PGSHIFT - 3)
+#define        XSEGSHIFT       (SEGSHIFT + SEGLENGTH)  /* LOG2(NBXSEG) */
 #define        NBXSEG          (1UL << XSEGSHIFT)      /* bytes/xsegment */
-#define        XSEGOFSET       (NBXSEG-1)      /* byte offset into xsegment */
-#define        XSEGLENGTH      (PGSHIFT-3)
+#define        XSEGOFSET       (NBXSEG - 1)    /* byte offset into xsegment */
+#define        XSEGLENGTH      (PGSHIFT - 3)
 #define        NXSEGPG         (1 << XSEGLENGTH)
 #else
-#define        SEGLENGTH       (31-SEGSHIFT)
+#define        SEGLENGTH       (31 - SEGSHIFT)
 #endif
 #define        NSEGPG          (1 << SEGLENGTH)
 



Home | Main Index | Thread Index | Old Index