summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm/pxa255/irq/irq.h
blob: 40ad88869661c8032026ae41c18d3bf4ac88e8c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * Interrupt handler Header file for PXA By Yang Xi <hiyangxi@gmail.com>
 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#ifndef __IRQ_H__
#define __IRQ_H__

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __asm__

/*
 * Include some preprocessor value also used by assember code
 */

#include <rtems/irq.h>
#include <rtems.h>
#include <pxa255.h>

extern void default_int_handler(rtems_irq_hdl_param unused);
extern void (*IRQ_table[PRIMARY_IRQS])(rtems_irq_hdl_param param);
extern void dummy_handler(rtems_irq_hdl_param unused);

extern void BSP_rtems_irq_mngt_init(void);

#endif /* __asm__ */

#ifdef __cplusplus
}
#endif

#endif /* __IRQ_H__ */