blob: 9f370dd83c9d1d0f8f50bf4d7a53e107f694bc16 [file] [log] [blame]
Ricardo Ribalda Delgadod865fd02008-07-17 11:44:12 +02001/*
2 * (C) Copyright 2008
Ricardo Ribalda Delgado5b218ae2016-01-26 11:24:08 +01003 * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@gmail.com
Ricardo Ribalda Delgadod865fd02008-07-17 11:44:12 +02004 * 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 Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
8 */
Ricardo Ribalda Delgadod865fd02008-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