2 * Carsten Langgaard, carstenl@mips.com
3 * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
5 * ########################################################################
7 * This program is free software; you can distribute it and/or modify it
8 * under the terms of the GNU General Public License (Version 2) as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
20 * ########################################################################
22 * Defines for the Atlas interrupt controller.
25 #ifndef _MIPS_ATLASINT_H
26 #define _MIPS_ATLASINT_H
28 /* Number of IRQ supported on hw interrupt 0. */
29 #define ATLASINT_UART 0
30 #define ATLASINT_END 32
33 * Atlas registers are memory mapped on 64-bit aligned boundaries and
34 * only word access are allowed.
36 struct atlas_ictrl_regs
{
37 volatile unsigned long intraw
;
39 volatile unsigned long intseten
;
41 volatile unsigned long intrsten
;
43 volatile unsigned long intenable
;
45 volatile unsigned long intstatus
;
49 extern void atlasint_init(void);
51 #endif /* !(_MIPS_ATLASINT_H) */