Module Name: src Committed By: matt Date: Mon May 2 01:49:23 UTC 2011
Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: A little PMAP_OEA64 pmap support. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/arch/powerpc/oea/pmap.c 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/powerpc/oea/pmap.c diff -u src/sys/arch/powerpc/oea/pmap.c:1.78 src/sys/arch/powerpc/oea/pmap.c:1.79 --- src/sys/arch/powerpc/oea/pmap.c:1.78 Fri Feb 18 16:40:50 2011 +++ src/sys/arch/powerpc/oea/pmap.c Mon May 2 01:49:23 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.78 2011/02/18 16:40:50 matt Exp $ */ +/* $NetBSD: pmap.c,v 1.79 2011/05/02 01:49:23 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. @@ -63,7 +63,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.78 2011/02/18 16:40:50 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.79 2011/05/02 01:49:23 matt Exp $"); #define PMAP_NOOPNAMES @@ -745,12 +745,10 @@ pt->pte_hi = (va_to_vsid(pm, va) << PTE_VSID_SHFT) | (((va & ADDR_PIDX) >> (ADDR_API_SHFT - PTE_API_SHFT)) & PTE_API); pt->pte_lo = pte_lo; -#elif defined (PMAP_OEA64_BRIDGE) +#elif defined (PMAP_OEA64_BRIDGE) || defined (PMAP_OEA64) pt->pte_hi = ((u_int64_t)va_to_vsid(pm, va) << PTE_VSID_SHFT) | (((va & ADDR_PIDX) >> (ADDR_API_SHFT - PTE_API_SHFT)) & PTE_API); pt->pte_lo = (u_int64_t) pte_lo; -#elif defined (PMAP_OEA64) -#error PMAP_OEA64 not supported #endif /* PMAP_OEA */ }