fix ASID mask define

This commit is contained in:
uch 2002-05-09 12:26:16 +00:00
parent 944192661c
commit fa6d5570e7
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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