xref: /netbsd-src/sys/arch/mac68k/include/pmap.h (revision a6771b5ec5d0027e2a227a4f62d7374af6a98eb6)
1 /*	$NetBSD: pmap.h,v 1.38 2023/12/27 19:26:29 thorpej 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  * Tranparent 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