Rev 3906 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3906 | Rev 3941 | ||
---|---|---|---|
Line 201... | Line 201... | ||
201 | } |
201 | } |
202 | chardev_push_character(&console, ch); |
202 | chardev_push_character(&console, ch); |
203 | } |
203 | } |
204 | } |
204 | } |
205 | 205 | ||
206 | static irq_ownership_t gxemul_claim(void *instance) |
206 | static irq_ownership_t gxemul_claim(irq_t *irq) |
207 | { |
207 | { |
208 | return IRQ_ACCEPT; |
208 | return IRQ_ACCEPT; |
209 | } |
209 | } |
210 | 210 | ||
211 | 211 | ||
Line 263... | Line 263... | ||
263 | static void gxemul_timer_start(uint32_t frequency) |
263 | static void gxemul_timer_start(uint32_t frequency) |
264 | { |
264 | { |
265 | *((uint32_t*) gxemul_hw_map.rtc_freq) = frequency; |
265 | *((uint32_t*) gxemul_hw_map.rtc_freq) = frequency; |
266 | } |
266 | } |
267 | 267 | ||
268 | static irq_ownership_t gxemul_timer_claim(void *instance) |
268 | static irq_ownership_t gxemul_timer_claim(irq_t *irq) |
269 | { |
269 | { |
270 | return IRQ_ACCEPT; |
270 | return IRQ_ACCEPT; |
271 | } |
271 | } |
272 | 272 | ||
273 | /** Timer interrupt handler. |
273 | /** Timer interrupt handler. |