Graeme Russ | 9933d60 | 2008-12-07 10:29:01 +1100 | [diff] [blame] | 1 | /* |
Graeme Russ | abf0cd3 | 2009-02-24 21:13:40 +1100 | [diff] [blame] | 2 | * (C) Copyright 2009 |
Graeme Russ | 9933d60 | 2008-12-07 10:29:01 +1100 | [diff] [blame] | 3 | * Graeme Russ, graeme.russ@gmail.com |
| 4 | * |
Graeme Russ | abf0cd3 | 2009-02-24 21:13:40 +1100 | [diff] [blame] | 5 | * (C) Copyright 2002 |
Albert ARIBAUD | fa82f87 | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 6 | * Daniel Engström, Omicron Ceti AB, daniel@omicron.se |
Graeme Russ | abf0cd3 | 2009-02-24 21:13:40 +1100 | [diff] [blame] | 7 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Graeme Russ | 9933d60 | 2008-12-07 10:29:01 +1100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_INTERRUPT_H_ |
| 12 | #define __ASM_INTERRUPT_H_ 1 |
| 13 | |
Graeme Russ | 7228efa | 2010-10-07 20:03:23 +1100 | [diff] [blame] | 14 | #include <asm/types.h> |
| 15 | |
Graeme Russ | fea2572 | 2011-04-13 19:43:28 +1000 | [diff] [blame] | 16 | /* arch/x86/cpu/interrupts.c */ |
Graeme Russ | abf0cd3 | 2009-02-24 21:13:40 +1100 | [diff] [blame] | 17 | void set_vector(u8 intnum, void *routine); |
| 18 | |
Mike Williams | 1626308 | 2011-07-22 04:01:30 +0000 | [diff] [blame] | 19 | /* arch/x86/lib/interrupts.c */ |
Graeme Russ | abf0cd3 | 2009-02-24 21:13:40 +1100 | [diff] [blame] | 20 | void disable_irq(int irq); |
| 21 | void enable_irq(int irq); |
| 22 | |
| 23 | /* Architecture specific functions */ |
| 24 | void mask_irq(int irq); |
| 25 | void unmask_irq(int irq); |
| 26 | void specific_eoi(int irq); |
| 27 | |
| 28 | extern char exception_stack[]; |
| 29 | |
Graeme Russ | 9933d60 | 2008-12-07 10:29:01 +1100 | [diff] [blame] | 30 | #endif |