Subversion Repositories HelenOS

Rev

Rev 2263 | Rev 2312 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2263 Rev 2274
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#include <arch/asm.h>
35
#include <arch/asm.h>
36
#include <arch/regutils.h>
36
#include <arch/regutils.h>
37
#include <ddi/irq.h>
37
#include <ddi/irq.h>
38
#include <arch/drivers/gxemul.h>
38
#include <arch/machine.h>
39
#include <interrupt.h>
39
#include <interrupt.h>
40
 
40
 
41
#define IRQ_COUNT 8
41
#define IRQ_COUNT 8
42
 
42
 
43
 
43
 
Line 90... Line 90...
90
 * and starts the timer.
90
 * and starts the timer.
91
 */
91
 */
92
void interrupt_init(void)
92
void interrupt_init(void)
93
{
93
{
94
    irq_init(IRQ_COUNT, IRQ_COUNT);
94
    irq_init(IRQ_COUNT, IRQ_COUNT);
95
 
-
 
96
#if MACHINE == MACHINE_GXEMUL_TESTARM
-
 
97
    gxemul_timer_irq_init();
95
    machine_timer_irq_start();
98
    gxemul_timer_start(GXEMUL_TIMER_FREQ);
-
 
99
#endif
-
 
100
}
96
}
101
 
97
 
102
 
98
 
103
/** @}
99
/** @}
104
 */
100
 */