2008-12-06 23:29:01 +00:00
|
|
|
/*
|
2009-02-24 10:13:40 +00:00
|
|
|
* (C) Copyright 2009
|
2008-12-06 23:29:01 +00:00
|
|
|
* Graeme Russ, graeme.russ@gmail.com
|
|
|
|
*
|
2009-02-24 10:13:40 +00:00
|
|
|
* (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
* Daniel Engström, Omicron Ceti AB, daniel@omicron.se
|
2009-02-24 10:13:40 +00:00
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-12-06 23:29:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_INTERRUPT_H_
|
|
|
|
#define __ASM_INTERRUPT_H_ 1
|
|
|
|
|
2010-10-07 09:03:23 +00:00
|
|
|
#include <asm/types.h>
|
|
|
|
|
2011-04-13 09:43:28 +00:00
|
|
|
/* arch/x86/cpu/interrupts.c */
|
2009-02-24 10:13:40 +00:00
|
|
|
void set_vector(u8 intnum, void *routine);
|
|
|
|
|
2011-07-22 04:01:30 +00:00
|
|
|
/* arch/x86/lib/interrupts.c */
|
2009-02-24 10:13:40 +00:00
|
|
|
void disable_irq(int irq);
|
|
|
|
void enable_irq(int irq);
|
|
|
|
|
|
|
|
/* Architecture specific functions */
|
|
|
|
void mask_irq(int irq);
|
|
|
|
void unmask_irq(int irq);
|
|
|
|
void specific_eoi(int irq);
|
|
|
|
|
|
|
|
extern char exception_stack[];
|
|
|
|
|
2008-12-06 23:29:01 +00:00
|
|
|
#endif
|