From 8f515392d4093491151b69467ed8e4f588033876 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 1 Jul 2006 16:23:32 +0000 Subject: Add PMAP_LITTLE to the list of forbidden pa bits in pmap_kenter_pa(). --- sys/arch/sparc64/sparc64/pmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index 11656cfd921..620d1c4d403 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.31 2006/06/20 20:31:04 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.32 2006/07/01 16:23:31 miod Exp $ */ /* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */ #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ /* @@ -1987,7 +1987,7 @@ pmap_kenter_pa(va, pa, prot) ASSERT(va < kdata || va > ekdata); #ifdef DIAGNOSTIC - if (pa & (PMAP_NVC|PMAP_NC)) + if (pa & (PMAP_NVC|PMAP_NC|PMAP_LITTLE)) panic("pmap_kenter_pa: illegal cache flags %ld", pa); #endif @@ -3447,7 +3447,7 @@ pmap_enter_pv(pmap, va, pa) data = pseg_get(pm, va); if (data >= 0 || - data&TLB_PA_MASK != pa) + data&TLB_PA_MASK != pa&TLB_PA_MASK) printf( "pmap_enter: found va %lx pa %lx in pv_table but != %lx\n", va, pa, (long)data); -- cgit v1.2.3