Home | History | Annotate | Line # | Download | only in include
pmap.h revision 1.38
      1  1.38  thorpej /*	$NetBSD: pmap.h,v 1.38 2023/12/27 19:26:29 thorpej Exp $	*/
      2  1.38  thorpej 
      3  1.38  thorpej #ifndef _MAC68K_PMAP_H_
      4  1.38  thorpej #define	_MAC68K_PMAP_H_
      5   1.7      cgd 
      6  1.37      chs #include <m68k/pmap_motorola.h>
      7  1.38  thorpej #include <m68k/mmu_30.h>
      8  1.38  thorpej 
      9  1.38  thorpej /*
     10  1.38  thorpej  * Tranparent translation register used in locore.s:get_pte().
     11  1.38  thorpej  * User Data set up for R/W access of the entire address space.
     12  1.38  thorpej  *
     13  1.38  thorpej  * (XXX TT30_RW isn't actually needed because of TT30_RWM, but
     14  1.38  thorpej  * this the value historically used.)
     15  1.38  thorpej  */
     16  1.38  thorpej #define	MAC68K_TT_GET_PTE	(0x00000000 |				\
     17  1.38  thorpej 				 __SHIFTIN(0xff,TT30_LAM) |		\
     18  1.38  thorpej 				 TT30_E | TT30_CI | TT30_RW | TT30_RWM |\
     19  1.38  thorpej 				 TT30_USERD)
     20  1.38  thorpej 
     21  1.38  thorpej #endif /* _MAC68K_PMAP_H_ */
     22