blob: 3f46e0920a8646bea0b044ac2509a3b2346b3277 [file] [log] [blame]
Graeme Russ0c8c62e2008-12-07 10:29:01 +11001/*
Graeme Russ77290ee2009-02-24 21:13:40 +11002 * (C) Copyright 2009
Graeme Russ0c8c62e2008-12-07 10:29:01 +11003 * Graeme Russ, graeme.russ@gmail.com
4 *
Graeme Russ77290ee2009-02-24 21:13:40 +11005 * (C) Copyright 2002
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02006 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
Graeme Russ77290ee2009-02-24 21:13:40 +11007 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Graeme Russ0c8c62e2008-12-07 10:29:01 +11009 */
10
11#ifndef __ASM_INTERRUPT_H_
12#define __ASM_INTERRUPT_H_ 1
13
Graeme Russ43261532010-10-07 20:03:23 +110014#include <asm/types.h>
15
Graeme Russcbfce1d2011-04-13 19:43:28 +100016/* arch/x86/cpu/interrupts.c */
Graeme Russ77290ee2009-02-24 21:13:40 +110017void set_vector(u8 intnum, void *routine);
18
Mike Williamsbf895ad2011-07-22 04:01:30 +000019/* arch/x86/lib/interrupts.c */
Graeme Russ77290ee2009-02-24 21:13:40 +110020void disable_irq(int irq);
21void enable_irq(int irq);
22
23/* Architecture specific functions */
24void mask_irq(int irq);
25void unmask_irq(int irq);
26void specific_eoi(int irq);
27
28extern char exception_stack[];
29
Graeme Russ0c8c62e2008-12-07 10:29:01 +110030#endif