/* $OpenBSD: pmap.h,v 1.16 2006/08/22 21:03:54 miod Exp $ */ #ifndef _MACHINE_PMAP_H_ #define _MACHINE_PMAP_H_ #include #if !defined(M68020) #define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg)) #define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va) #define __HAVE_PMAP_DIRECT #define PMAP_STEAL_MEMORY #endif #ifdef _KERNEL void pmap_init_md(void); #define PMAP_INIT_MD() pmap_init_md() #endif #endif /* _MACHINE_PMAP_H_ */