11.18Sthorpej/* $NetBSD: pmap.h,v 1.18 2025/11/24 16:58:01 thorpej Exp $ */ 21.16Sthorpej 31.16Sthorpej#ifndef _NEXT68K_PMAP_H_ 41.16Sthorpej#define _NEXT68K_PMAP_H_ 51.2Sdbj 61.17Sthorpej#ifdef __HAVE_NEW_PMAP_68K 71.17Sthorpej#include <m68k/pmap_68k.h> 81.17Sthorpej#else 91.15Schs#include <m68k/pmap_motorola.h> 101.17Sthorpej#endif /* __HAVE_NEW_PMAP_68K */ 111.17Sthorpej 121.18Sthorpej#include <m68k/mmu_40.h> 131.16Sthorpej 141.16Sthorpej/* 151.16Sthorpej * Transparent translation register values for IO space and the 161.16Sthorpej * kernel text/data. These are only used temporarily during 171.16Sthorpej * early boot. 181.16Sthorpej * 191.16Sthorpej * XXX BOTH? Really? But that matches the historical value. But 201.16Sthorpej * just SUPER should be sufficient. 211.16Sthorpej */ 221.16Sthorpej#define NEXT68K_TT40_IO (0x02000000 | \ 231.16Sthorpej TTR40_E | TTR40_BOTH | \ 241.16Sthorpej PTE40_CM_NC_SER) 251.16Sthorpej 261.16Sthorpej#define NEXT68K_TT40_KERN (0x04000000 | \ 271.16Sthorpej __SHIFTIN(0x03,TTR40_LAM) | \ 281.16Sthorpej TTR40_E | TTR40_BOTH) 291.16Sthorpej 301.16Sthorpej#endif /* _NEXT68K_PMAP_H_ */ 31