Module Name: src
Committed By: tsutsui
Date: Fri Dec 20 23:50:00 UTC 2024
Modified Files:
src/sys/arch/sun3/include: mc68851.h pmap3x.h pte3x.h
Log Message:
Remove trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sun3/include/mc68851.h
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sun3/include/pmap3x.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sun3/include/pte3x.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sun3/include/mc68851.h
diff -u src/sys/arch/sun3/include/mc68851.h:1.6 src/sys/arch/sun3/include/mc68851.h:1.7
--- src/sys/arch/sun3/include/mc68851.h:1.6 Mon Apr 28 20:23:38 2008
+++ src/sys/arch/sun3/include/mc68851.h Fri Dec 20 23:50:00 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: mc68851.h,v 1.6 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: mc68851.h,v 1.7 2024/12/20 23:50:00 tsutsui Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@ struct mmu_long_dte_struct { /* 'dte' st
char dt:2; /* Descriptor Type */
/* Bit masks for fields above */
#define MMU_LONG_DTE_LU 0x80000000
-#define MMU_LONG_DTE_LIMIT 0x7fff0000
+#define MMU_LONG_DTE_LIMIT 0x7fff0000
#define MMU_LONG_DTE_RAL 0x0000e000
#define MMU_LONG_DTE_WAL 0x00001c00
#define MMU_LONG_DTE_SG 0x00000200
@@ -126,7 +126,7 @@ typedef struct mmu_long_dte_struct *mmu_
* | UNUSED |
* +---.---.---+---.---.---+---+---+---+---+---+---+---+---+---.---+
* | RAL | WAL |SG | S | G |CI | L | M | U |WP |DT (01)|
- * +---.---.---+---.---.---+---+---+---+---+---+---+---+---+---.---+
+ * +---.---.---+---.---.---+---+---+---+---+---+---+---+---+---.---+
* | TABLE PHYSICAL ADDRESS (BITS 31-16) |
* +---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---+
* |TABLE PHYS. ADDRESS (15-8) | UNUSED |
@@ -178,9 +178,9 @@ struct mmu_long_pte_struct { /* 'pte' st
typedef struct mmu_long_pte_struct mmu_long_pte_t;
typedef struct mmu_long_pte_struct *mmu_long_ptbl_t;
-/* Every entry in the level A table (except for the page entries
- * described above) points to a level B table. Level B tables are
- * arrays of 'short format' table descriptors. Their structure
+/* Every entry in the level A table (except for the page entries
+ * described above) points to a level B table. Level B tables are
+ * arrays of 'short format' table descriptors. Their structure
* is smaller than an A table descriptor and is as follows:
*
* 31 16
@@ -211,14 +211,14 @@ typedef struct mmu_short_dte_struct *mmu
/* Every entry in a level B table points to a level C table. Level C tables
* contain arrays of short format page 'entry' descriptors. A short format
- * page 'entry' is the same size as a short format page 'table'
+ * page 'entry' is the same size as a short format page 'table'
* descriptor (a B table entry). Thus B and C tables can be allocated
* interchangeably from the same pool. However, we will keep them separate.
*
- * The descriptor type (DT) field of a Page Table Entry (PTE) is '01'. This
- * indicates to the MMU that the address contained in the PTE's 'base
- * address' field is the base address for a physical page in memory to which
- * the VA should be mapped, and not a base address for a yet another
+ * The descriptor type (DT) field of a Page Table Entry (PTE) is '01'. This
+ * indicates to the MMU that the address contained in the PTE's 'base
+ * address' field is the base address for a physical page in memory to which
+ * the VA should be mapped, and not a base address for a yet another
* descriptor table, thus ending the table walk.
*
* 31 16
@@ -255,7 +255,7 @@ struct mmu_short_pte_struct { /* 'pte' s
typedef struct mmu_short_pte_struct mmu_short_pte_t;
typedef struct mmu_short_pte_struct *mmu_short_ptbl_t;
-/* These are bit masks and other values that are common to all types of
+/* These are bit masks and other values that are common to all types of
* descriptors.
*/
/* Page table descriptors have a 'Descriptor Type' field describing the
Index: src/sys/arch/sun3/include/pmap3x.h
diff -u src/sys/arch/sun3/include/pmap3x.h:1.31 src/sys/arch/sun3/include/pmap3x.h:1.32
--- src/sys/arch/sun3/include/pmap3x.h:1.31 Sat Mar 14 14:05:44 2020
+++ src/sys/arch/sun3/include/pmap3x.h Fri Dec 20 23:50:00 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap3x.h,v 1.31 2020/03/14 14:05:44 ad Exp $ */
+/* $NetBSD: pmap3x.h,v 1.32 2024/12/20 23:50:00 tsutsui Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@ pmap_remove_all(struct pmap *pmap)
#define PMAP_VME32 0x20 /* etc. */
#define PMAP_NC 0x40 /* tells pmap_enter to set PTE_CI */
#define PMAP_SPEC 0xFF /* mask to get all above. */
-
+
#endif /* _KERNEL */
/* MMU specific segment size */
Index: src/sys/arch/sun3/include/pte3x.h
diff -u src/sys/arch/sun3/include/pte3x.h:1.8 src/sys/arch/sun3/include/pte3x.h:1.9
--- src/sys/arch/sun3/include/pte3x.h:1.8 Mon Apr 28 20:23:38 2008
+++ src/sys/arch/sun3/include/pte3x.h Fri Dec 20 23:50:00 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: pte3x.h,v 1.8 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: pte3x.h,v 1.9 2024/12/20 23:50:00 tsutsui Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
*
* A virtual address is translated into a physical address by dividing its
* bits into four fields. The first three fields are used as indexes into
- * descriptor tables and the last field (the 13 lowest significant
+ * descriptor tables and the last field (the 13 lowest significant
* bits) is an offset to be added to the base address found at the final
* table. The first three fields are named TIA, TIB and TIC respectively.
* 31 12 0
@@ -83,7 +83,7 @@
((unsigned long) ((va) & MMU_TIC_MASK) >> MMU_TIC_SHIFT)
/*
- * The widths of the TIA, TIB, and TIC fields determine the size (in
+ * The widths of the TIA, TIB, and TIC fields determine the size (in
* elements) of the tables they index.
*/
#define MMU_A_TBL_SIZE (128)