فهرست منبع

Updated all timer arm routine comments.

These now match the comments added to the template for absolute timers.
Chris Stevens 8 سال پیش
والد
کامیت
e2c10ff008

+ 3 - 2
kernel/hl/armv7/am335tmr.c

@@ -470,8 +470,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/armv7/cptimer.c

@@ -395,8 +395,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/armv7/omap3tmr.c

@@ -502,8 +502,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/armv7/omap4tmr.c

@@ -567,8 +567,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 4 - 3
kernel/hl/armv7/rk32tmr.c

@@ -193,7 +193,7 @@ Return Value:
         Timer.FunctionTable.Arm = HlpRk32TimerArm;
         Timer.FunctionTable.Disarm = HlpRk32TimerDisarm;
         Timer.FunctionTable.AcknowledgeInterrupt =
-                                             HlpRk32TimerAcknowledgeInterrupt;
+                                              HlpRk32TimerAcknowledgeInterrupt;
 
         TimerData = HlAllocateMemory(sizeof(RK32_TIMER_DATA),
                                      RK32_ALLOCATION_TAG,
@@ -382,8 +382,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/armv7/sp804tmr.c

@@ -429,8 +429,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/x86/apictimr.c

@@ -288,8 +288,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value:
 

+ 3 - 2
kernel/hl/x86/rtc.c

@@ -388,8 +388,9 @@ Arguments:
         system will never request a mode not supported by the timer's feature
         bits.
 
-    TickCount - Supplies the interval, in ticks, from now for the timer to fire
-        in.
+    TickCount - Supplies the number of timer ticks from now for the timer to
+        fire in. In absolute mode, this supplies the time in timer ticks at
+        which to fire an interrupt.
 
 Return Value: