Home | History | Annotate | Line # | Download | only in include
      1 /*	$NetBSD: pmap.h,v 1.1 2024/01/02 07:41:01 thorpej Exp $	*/
      2 
      3 #ifndef _VIRT68K_PMAP_H_
      4 #define	_VIRT68K_PMAP_H_
      5 
      6 #include <m68k/pmap_motorola.h>
      7 #include <m68k/mmu_30.h>
      8 
      9 /*
     10  * Qemu places the virtual devices in the last 16MB of physical
     11  * address space (0xff00.0000).  We use a Transparent Translation
     12  * register to map these VA==PA for convenience.
     13  */
     14 
     15 #define	VIRT68K_IO_BASE		0xff000000
     16 
     17 #define	VIRT68K_TT30_IO		(VIRT68K_IO_BASE |			\
     18 				 TT30_E | TT30_CI | TT30_RWM |		\
     19 				 TT30_SUPERD)
     20 
     21 #define	VIRT68K_TT40_IO		(VIRT68K_IO_BASE |			\
     22 				 TTR40_E | TTR40_SUPER |		\
     23 				 PTE40_CM_NC_SER)
     24 
     25 #endif /* _VIRT68K_PMAP_H_ */
     26