*#ident	"@(#)kern-port:master.d/mem	10.2"
*#ident	"$Revision: 3.22 $"
*
* MEM
*
*FLAG	PREFIX	SOFT	#DEV	DEPENDENCIES
orcs	mm	1

$$$

#include <sys/cpu.h>

/*
 * This array defines the device addresses
 * that may be mapped by /dev/mmem.
 * Note: addresses MUST BE kernel virtual addresses,
 * not physical addresses.
 */
struct map mmmap_addrs[] = {
#if IP4 || IP5 || IP17
	{ NBPP, SOUND_DAT_ADDR, },	/* sound chip and friends */
#endif
#if IP12 || IP20
	{ 0x20000, PHYS_TO_K1(HPC1MEMORY), },	/* DSP, etc. */
	/* HPC registers, in particular HPC1MISCSR */
	{ NBPP, PHYS_TO_K1(HPC_0_ID_ADDR	), },
#endif
#if IP20 || IP22
	{ NBPP, (PHYS_TO_K1(RPSS_CTR)&~0xfff) },
#endif
#if IP5 || IP17
	{ 0x80000, LOGRAM_ADDR, },	/* ECC logging RAM */
	{ NBPP, IOTIMER_ADDR, },	/* free running timer on IO3 */

/* Sirius Video */
	{ 0x1000, 0xb7c03000 },
#endif
#if IP19 
	{ NBPP, EV_RTC, },		/* free running timer on Everest */
#if DEBUG
	{ 0x1000, 0xa0000000 },	/* Allow user to map page for HW trigger */
#endif
#endif
	{ 0, 0 } ,	/* NULL ENTRY TERMINATES THIS LIST! */
};
