Skip to content

Commit

Permalink
CRIS v32: Update and improve fasttimer.c
Browse files Browse the repository at this point in the history
- Change include path to machine dependent header files.
- Remove __INLINE__, it expands to inline anyway.
- Don't initialize static variables.
- Change timers to use fasttimer_t instead of timevals.
- Change name of timeval_cmp to fasttime_cmp to highlight this.
- Register name for first timer is regi_timer0, not regi_timer.
- Whitespace and formatting changes.
- Don't return if we're blocking interrupts, goto done and restore interrupts.
- Disable interrupts while walking the fasttimer list, only restore
  while doing the callback.
- Remove #ifdef DECLARE_WAITQUEUE, this code won't be used in another OS.
- Remove CVS log.
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent e867cef commit ec87ee2
Showing 1 changed file with 195 additions and 324 deletions.
Loading

0 comments on commit ec87ee2

Please sign in to comment.