MIPS: KVM: Make various Cause variables 32-bit
[deliverable/linux.git] / arch / mips / include / asm / txx9irq.h
CommitLineData
8420fd00
AN
1/*
2 * include/asm-mips/txx9irq.h
3 * TX39/TX49 interrupt controller definitions.
4 *
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
8 */
9#ifndef __ASM_TXX9IRQ_H
10#define __ASM_TXX9IRQ_H
11
12#include <irq.h>
13
67e38cf2 14#ifdef CONFIG_IRQ_MIPS_CPU
8420fd00
AN
15#define TXX9_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8)
16#else
a0e31fb0
AN
17#ifdef CONFIG_I8259
18#define TXX9_IRQ_BASE (I8259A_IRQ_BASE + 16)
19#else
8420fd00
AN
20#define TXX9_IRQ_BASE 0
21#endif
a0e31fb0 22#endif
8420fd00
AN
23
24#ifdef CONFIG_CPU_TX39XX
25#define TXx9_MAX_IR 16
26#else
27#define TXx9_MAX_IR 32
28#endif
29
30void txx9_irq_init(unsigned long baseaddr);
31int txx9_irq(void);
32int txx9_irq_set_pri(int irc_irq, int new_pri);
33
34#endif /* __ASM_TXX9IRQ_H */
This page took 0.563942 seconds and 5 git commands to generate.