Home | History | Annotate | Line # | Download | only in include
cpu.h revision 1.11.62.1
      1  1.11.62.1      mjf /*	$NetBSD: cpu.h,v 1.11.62.1 2008/04/03 12:42:13 mjf Exp $	*/
      2       1.11  tsutsui 
      3       1.11  tsutsui #ifndef _COBALT_CPU_H_
      4       1.11  tsutsui #define _COBALT_CPU_H_
      5        1.1    soren 
      6        1.1    soren #include <mips/cpu.h>
      7       1.11  tsutsui 
      8  1.11.62.1      mjf #if defined(_KERNEL) || defined(_STANDALONE)
      9       1.11  tsutsui #ifndef _LOCORE
     10       1.11  tsutsui extern u_int cobalt_id;
     11       1.11  tsutsui 
     12       1.11  tsutsui #define COBALT_ID_QUBE2700	3
     13       1.11  tsutsui #define COBALT_ID_RAQ		4
     14       1.11  tsutsui #define COBALT_ID_QUBE2		5
     15       1.11  tsutsui #define COBALT_ID_RAQ2		6
     16       1.11  tsutsui 
     17  1.11.62.1      mjf /*
     18  1.11.62.1      mjf  * Memory map and register definitions.
     19  1.11.62.1      mjf  * XXX should be elsewhere?
     20  1.11.62.1      mjf  */
     21  1.11.62.1      mjf #define PCIB_BASE	0x10000000
     22  1.11.62.1      mjf #define GT_BASE		0x14000000
     23  1.11.62.1      mjf #define LED_ADDR	0x1c000000
     24  1.11.62.1      mjf #define LED_RESET	0x0f		/* Resets machine. */
     25  1.11.62.1      mjf #define LED_POWEROFF	3
     26  1.11.62.1      mjf #define COM_BASE	0x1c800000
     27  1.11.62.1      mjf #define ZS_BASE		0x1c800000
     28  1.11.62.1      mjf #define PANEL_BASE	0x1d000000
     29  1.11.62.1      mjf 
     30       1.11  tsutsui #endif /* !_LOCORE */
     31  1.11.62.1      mjf #endif /* _KERNEL || _STANDALONE */
     32       1.11  tsutsui 
     33       1.11  tsutsui #endif /* !_COBALT_CPU_H_ */
     34