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