xref: /netbsd-src/sys/arch/next68k/include/pmap.h (revision ccd9df534e375a4366c5b55f23782053c7a98d82)
1 /*	$NetBSD: pmap.h,v 1.16 2023/12/27 19:47:00 thorpej Exp $	*/
2 
3 #ifndef _NEXT68K_PMAP_H_
4 #define	_NEXT68K_PMAP_H_
5 
6 #include <m68k/pmap_motorola.h>
7 #include <m68k/mmu_30.h>
8 
9 /*
10  * Transparent translation register values for IO space and the
11  * kernel text/data.  These are only used temporarily during
12  * early boot.
13  *
14  * XXX BOTH?  Really?  But that matches the historical value.  But
15  * just SUPER should be sufficient.
16  */
17 #define	NEXT68K_TT40_IO		(0x02000000 |				\
18 				 TTR40_E | TTR40_BOTH |			\
19 				 PTE40_CM_NC_SER)
20 
21 #define	NEXT68K_TT40_KERN	(0x04000000 |				\
22 				 __SHIFTIN(0x03,TTR40_LAM) |		\
23 				TTR40_E | TTR40_BOTH)
24 
25 #endif /* _NEXT68K_PMAP_H_ */
26