Subversion Repositories HelenOS

Rev

Rev 4669 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4669 Rev 4675
Line 33... Line 33...
33
 *  @brief Interrupts controlling routines.
33
 *  @brief Interrupts controlling routines.
34
 */
34
 */
35
 
35
 
36
#include <arch/asm.h>
36
#include <arch/asm.h>
37
#include <arch/regutils.h>
37
#include <arch/regutils.h>
38
#include <arch/machine.h>
-
 
39
#include <ddi/irq.h>
38
#include <ddi/irq.h>
40
#include <ddi/device.h>
39
#include <ddi/device.h>
41
#include <interrupt.h>
40
#include <interrupt.h>
42
 
41
 
-
 
42
#ifdef MACHINE_testarm
-
 
43
    #include <arch/mach/testarm/testarm.h>
-
 
44
#endif
-
 
45
 
-
 
46
#ifdef MACHINE_integratorcp
-
 
47
    #include <arch/mach/integratorcp/integratorcp.h>
-
 
48
#endif
-
 
49
 
43
/** Initial size of a table holding interrupt handlers. */
50
/** Initial size of a table holding interrupt handlers. */
44
#define IRQ_COUNT 8
51
#define IRQ_COUNT 8
45
 
52
 
46
/** Disable interrupts.
53
/** Disable interrupts.
47
 *
54
 *
Line 94... Line 101...
94
 */
101
 */
95
void interrupt_init(void)
102
void interrupt_init(void)
96
{
103
{
97
    irq_init(IRQ_COUNT, IRQ_COUNT);
104
    irq_init(IRQ_COUNT, IRQ_COUNT);
98
    machine_timer_irq_start();
105
    machine_timer_irq_start();
99
   
-
 
100
}
106
}
101
 
107
 
102
/** @}
108
/** @}
103
 */
109
 */