Ticket #1171: tim2.diff

File tim2.diff, 1.4 KB (added by ken.peters, on Dec 3, 2006 at 1:31:13 PM)


  • doc/user/timer.t

    diff -Naur rtems-4.6.6/doc/user/timer.t rtems-4.6.6-ele/doc/user/timer.t
    old new  
    6060The Timer Server task is responsible for executing the timer
    6161service routines associated with all task-based timers.
    6262This task executes at a priority higher than any RTEMS application
    63 task and thus can be viewed logically as the lowest priority interrupt.
     63task, and is created non-preemptable, and thus can be viewed logically as
     64the lowest priority interrupt.
    6566By providing a mechanism where timer service routines execute
    6667in task rather than interrupt space, the application is
    7071it would be save to perform floating point operations
    7172from a task-based timer.  Most of the time, executing floating
    7273point instructions from an interrupt service routine
    73 is not considered safe.
     74is not considered safe. However, since the Timer Server task
     75is non-preemptable, only directives allowed from an ISR can be
     76called in the timer service routine.
    7578The Timer Server is designed to remain blocked until a
    7679task-based timer fires.  This reduces the execution overhead
    512515@findex rtems_timer_initiate_server
    514517rtems_status_code rtems_timer_initiate_server(
     518  unsigned32           priority,
    515519  unsigned32           stack_size,
    516520  rtems_attribute      attribute_set