xref: /openbmc/u-boot/arch/x86/include/asm/interrupt.h (revision 8b485ba1)
1 /*
2  * (C) Copyright 2009
3  * Graeme Russ, graeme.russ@gmail.com
4  *
5  * (C) Copyright 2002
6  * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
7  *
8  * SPDX-License-Identifier:	GPL-2.0+
9  */
10 
11 #ifndef __ASM_INTERRUPT_H_
12 #define __ASM_INTERRUPT_H_ 1
13 
14 #include <asm/types.h>
15 
16 /* arch/x86/cpu/interrupts.c */
17 void set_vector(u8 intnum, void *routine);
18 
19 /* arch/x86/lib/interrupts.c */
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 
30 #endif
31