mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
b5dc7840b3
Introduce irq controller and use it to manage auto vector interrupts. Introduce setup_irq() which can be used for irq setup. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
24 lines
492 B
C
24 lines
492 B
C
|
|
#ifndef _atari_stdma_h
|
|
#define _atari_stdma_h
|
|
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
|
|
/***************************** Prototypes *****************************/
|
|
|
|
void stdma_lock(irqreturn_t (*handler)(int, void *, struct pt_regs *),
|
|
void *data);
|
|
void stdma_release( void );
|
|
int stdma_others_waiting( void );
|
|
int stdma_islocked( void );
|
|
void *stdma_locked_by( void );
|
|
void stdma_init( void );
|
|
|
|
/************************* End of Prototypes **************************/
|
|
|
|
|
|
|
|
#endif /* _atari_stdma_h */
|