Date: Wed, 20 Feb 2008 15:54:37 GMT From: "Randall R. Stewart" <rrs@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135797 for review Message-ID: <200802201554.m1KFsbHl057435@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135797 Change 135797 by rrs@rrs-mips2-jnpr on 2008/02/20 15:54:28 adds new func in front for the debugger. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/include/pmap.h#9 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/include/pmap.h#9 (text+ko) ==== @@ -125,6 +125,12 @@ #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx) #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx) +#define PMAP_LGMEM_LOCK_INIT(sysmap) mtx_init(&(sysmap)->lock, "pmap-lgmem", \ + "per-cpu-map", (MTX_DEF| MTX_DUPOK)) +#define PMAP_LGMEM_LOCK(sysmap) mtx_lock(&(sysmap)->lock) +#define PMAP_LGMEM_UNLOCK(sysmap) mtx_unlock(&(sysmap)->lock) +#define PMAP_LGMEM_DESTROY(sysmap) mtx_destroy(&(sysmap)->lock) + #endif /* _KERNEL */ /* @@ -181,6 +187,7 @@ /* PMAP_INLINE */ void pmap_kenter(vm_offset_t va, vm_paddr_t pa); /* PMAP_INLINE */ void pmap_kremove(vm_offset_t va); void * pmap_kenter_temporary(vm_paddr_t pa, int i); +void pmap_kenter_temporary_free(vm_paddr_t pa); int pmap_compute_pages_to_dump(void); void pmap_update_page(pmap_t pmap, vm_offset_t va, pt_entry_t pte);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802201554.m1KFsbHl057435>