Rev 4343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4343 | Rev 4344 | ||
---|---|---|---|
Line 99... | Line 99... | ||
99 | lastcount = cp0_count_read(); |
99 | lastcount = cp0_count_read(); |
100 | nextcount = cp0_compare_value + cp0_count_read(); |
100 | nextcount = cp0_compare_value + cp0_count_read(); |
101 | cp0_compare_write(nextcount); |
101 | cp0_compare_write(nextcount); |
102 | } |
102 | } |
103 | 103 | ||
104 | static irq_ownership_t timer_claim(void *instance) |
104 | static irq_ownership_t timer_claim(irq_t *irq) |
105 | { |
105 | { |
106 | return IRQ_ACCEPT; |
106 | return IRQ_ACCEPT; |
107 | } |
107 | } |
108 | 108 | ||
109 | static void timer_irq_handler(irq_t *irq) |
109 | static void timer_irq_handler(irq_t *irq) |