FreeBSD/sys/mips/include/sf_buf.h
/* In 64 bit the whole memory is directly mapped */
In 64 bit the whole memory is directly mapped
In 64 bit the whole memory is directly mapped
static inline vm_offset_t
sf_buf_kva(struct sf_buf *sf)
{
	vm_page_t	m;
	m = (vm_page_t)sf;
	return (MIPS_PHYS_TO_DIRECT(VM_PAGE_TO_PHYS(m)));
}
static inline vm_offset_t sf_buf_kva ( struct sf_buf * sf ) { vm_page_t m ; m = ( vm_page_t ) sf ; return ( MIPS_PHYS_TO_DIRECT ( VM_PAGE_TO_PHYS ( m ) ) ) ; }
In 64 bit the whole memory is directly mapped
In 64 bit the whole memory is directly mapped