OpenCloudOS-Kernel/include/asm-powerpc/i8259.h

18 lines
448 B
C
Raw Normal View History

#ifndef _ASM_POWERPC_I8259_H
#define _ASM_POWERPC_I8259_H
#ifdef __KERNEL__
#include <linux/irq.h>
2006-07-03 19:36:01 +08:00
#ifdef CONFIG_PPC_MERGE
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
extern unsigned int i8259_irq(void);
extern struct irq_host *i8259_get_host(void);
2006-07-03 19:36:01 +08:00
#else
extern void i8259_init(unsigned long intack_addr, int offset);
extern int i8259_irq(void);
2006-07-03 19:36:01 +08:00
#endif
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_I8259_H */