Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include fix ASID mask define



details:   https://anonhg.NetBSD.org/src/rev/4f14744bd433
branches:  trunk
changeset: 526727:4f14744bd433
user:      uch <uch%NetBSD.org@localhost>
date:      Thu May 09 12:26:16 2002 +0000

description:
fix ASID mask define

diffstat:

 sys/arch/sh3/include/mmu_sh3.h |  6 +++---
 sys/arch/sh3/include/mmu_sh4.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 28eab058cb97 -r 4f14744bd433 sys/arch/sh3/include/mmu_sh3.h
--- a/sys/arch/sh3/include/mmu_sh3.h    Thu May 09 12:25:41 2002 +0000
+++ b/sys/arch/sh3/include/mmu_sh3.h    Thu May 09 12:26:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmu_sh3.h,v 1.3 2002/04/28 17:10:35 uch Exp $  */
+/*     $NetBSD: mmu_sh3.h,v 1.4 2002/05/09 12:26:16 uch Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
 #define        SH3_MMU_ENTRY                   32
 
 #define        SH3_PTEH                        0xfffffff0
-#define          SH3_PTEH_ASID_MASK              0x0000000f
+#define          SH3_PTEH_ASID_MASK              0x000000ff
 #define          SH3_PTEH_VPN_MASK               0xfffffc00
 #define        SH3_PTEL                        0xfffffff4
 #define          SH3_PTEL_HWBITS                 0x1ffff17e /* [28:12][8][6:1] */
@@ -72,7 +72,7 @@
 #define          SH3_MMU_D_VALID                 0x00000100
 #define          SH3_MMUAA_D_VPN_MASK_1K         0xfffe0c00    /* [31:17][11:10] */
 #define          SH3_MMUAA_D_VPN_MASK_4K         0xfffe0000    /* [31:17] */
-#define          SH3_MMUAA_D_ASID_MASK           0x0000000f
+#define          SH3_MMUAA_D_ASID_MASK           0x000000ff
 
 /* Data array */
 #define        SH3_MMUDA                       0xf3000000
diff -r 28eab058cb97 -r 4f14744bd433 sys/arch/sh3/include/mmu_sh4.h
--- a/sys/arch/sh3/include/mmu_sh4.h    Thu May 09 12:25:41 2002 +0000
+++ b/sys/arch/sh3/include/mmu_sh4.h    Thu May 09 12:26:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmu_sh4.h,v 1.3 2002/04/28 17:10:35 uch Exp $  */
+/*     $NetBSD: mmu_sh4.h,v 1.4 2002/05/09 12:26:16 uch Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 /* ITLB 4-entry full-associative UTLB 64-entry full-associative */
 #define        SH4_PTEH                        0xff000000
 #define          SH4_PTEH_VPN_MASK               0xfffffc00
-#define          SH4_PTEH_ASID_MASK              0x0000000f
+#define          SH4_PTEH_ASID_MASK              0x000000ff
 #define        SH4_PTEL                        0xff000004
 #define          SH4_PTEL_WT                     0x00000001
 #define          SH4_PTEL_SH                     0x00000002



Home | Main Index | Thread Index | Old Index