NetBSD/sys/arch/sbmips/include/pmap.h

13 lines
356 B
C

/* $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)