Module Name: src Committed By: matt Date: Wed Dec 12 00:29:20 UTC 2012
Modified Files: src/sys/arch/arm/include/arm32: pmap.h Log Message: Enable direct-mapped poolpages if __HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/arch/arm/include/arm32/pmap.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/arm/include/arm32/pmap.h diff -u src/sys/arch/arm/include/arm32/pmap.h:1.117 src/sys/arch/arm/include/arm32/pmap.h:1.118 --- src/sys/arch/arm/include/arm32/pmap.h:1.117 Mon Dec 10 08:19:59 2012 +++ src/sys/arch/arm/include/arm32/pmap.h Wed Dec 12 00:29:17 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.117 2012/12/10 08:19:59 matt Exp $ */ +/* $NetBSD: pmap.h,v 1.118 2012/12/12 00:29:17 matt Exp $ */ /* * Copyright (c) 2002, 2003 Wasabi Systems, Inc. @@ -898,6 +898,8 @@ extern paddr_t physical_start, physical_ #ifdef PMAP_NEED_ALLOC_POOLPAGE struct vm_page *arm_pmap_alloc_poolpage(int); #define PMAP_ALLOC_POOLPAGE arm_pmap_alloc_poolpage +#endif +#if defined(PMAP_NEED_ALLOC_POOLPAGE) || defined(__HAVE_MM_MD_DIRECT_MAPPED_PHYS) #define PMAP_MAP_POOLPAGE(pa) \ ((vaddr_t)((paddr_t)(pa) - physical_start + KERNEL_BASE)) #define PMAP_UNMAP_POOLPAGE(va) \