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