[BACK]Return to alarm.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / sample / alarm

Diff for /prex-old/usr/sample/alarm/alarm.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:50 version 1.1.1.1.2.1, 2008/08/13 17:12:42
Line 62 
Line 62 
  * Re-program alarm timer as count * 200msec.   * Re-program alarm timer as count * 200msec.
  */   */
 static void  static void
 alarm_handler(int code, void *regs)  alarm_handler(int code)
 {  {
         u_long tick;          u_long tick;
   
Line 77 
Line 77 
                 printf("Ring! count=%d time=%d msec\n", count,                  printf("Ring! count=%d time=%d msec\n", count,
                        (u_int)((tick - start_tick) * 1000 / hz));                         (u_int)((tick - start_tick) * 1000 / hz));
         }          }
         exception_return(regs);          exception_return();
 }  }
   
 int  int

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb