2002-03-24 21:21:08 +03:00
|
|
|
/* $NetBSD: mmeye.h,v 1.4 2002/03/24 18:21:23 uch Exp $ */
|
1999-09-13 14:30:21 +04:00
|
|
|
|
1999-09-16 17:32:24 +04:00
|
|
|
/*
|
|
|
|
* Brains mmEye specific register definition
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MMEYE_MMEYE_H_
|
1999-09-17 16:16:37 +04:00
|
|
|
#define _MMEYE_MMEYE_H_
|
1999-09-16 17:32:24 +04:00
|
|
|
|
|
|
|
/* IRQ mask register */
|
|
|
|
#ifdef MMEYE_NEW_INT /* for new mmEye */
|
1999-09-17 16:16:37 +04:00
|
|
|
#define MMTA_IMASK (*(volatile unsigned short *)0xb000000e)
|
1999-09-16 17:32:24 +04:00
|
|
|
#else /* for old mmEye */
|
|
|
|
#define MMTA_IMASK (*(volatile unsigned short *)0xb0000010)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MMEYE_LED (*(volatile unsigned short *)0xb0000008)
|
|
|
|
|
2002-03-24 21:21:08 +03:00
|
|
|
#ifndef _LOCORE
|
|
|
|
void *mmeye_intr_establish(int, int, int, int (*func)(void *), void *);
|
|
|
|
void mmeye_intr_disestablish(void *);
|
|
|
|
#endif /* !_LOCORE */
|
1999-09-16 17:32:24 +04:00
|
|
|
#endif /* !_MMEYE_MMEYE_H_ */
|