summaryrefslogtreecommitdiff
path: root/sys/arch/sbmips/include/pmap.h
blob: e0b2f695f69ae7d51345e9eceb3176f99a3f7efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* $NetBSD: pmap.h,v 1.2 2007/02/22 16:55:22 thorpej Exp $ */

#include <mips/pmap.h>

/* uncached accesses are bad; all accesses should be cached (and coherent) */
#undef PMAP_PAGEIDLEZERO
#define	PMAP_PAGEIDLEZERO(pa)   (pmap_zero_page(pa), true)

int sbmips_cca_for_pa(paddr_t);

#undef PMAP_CCA_FOR_PA
#define	PMAP_CCA_FOR_PA(pa)	sbmips_cca_for_pa(pa)