blob: 1a6a93384e76f696af3ac958ee4cd9245dddaf7b [file] [log] [blame]
Ricardo Ribalda Delgado95c50202008-07-17 11:44:12 +02001/*
2 * (C) Copyright 2008
3 * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
4 * This work has been supported by: QTechnology http://qtec.com/
5 * Based on interrupts.c Wolfgang Denk-DENX Software Engineering-wd@denx.de
6 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
8 */
Ricardo Ribalda Delgado95c50202008-07-17 11:44:12 +02009#ifndef INTERRUPT_H
10#define INTERRUPT_H
11
12#if defined(CONFIG_XILINX_440)
13#include <asm/xilinx_irq.h>
14#else
15#include <asm/ppc4xx-uic.h>
16#endif
17
18void pic_enable(void);
19void pic_irq_enable(unsigned int irq);
20void pic_irq_disable(unsigned int irq);
21void pic_irq_ack(unsigned int irq);
22void external_interrupt(struct pt_regs *regs);
23void interrupt_run_handler(int vec);
24
25#endif