diff packages/kernel/current/doc/kernel.sgml @ 2181:d9e9cf8adc85

* doc/kernel.sgml: Fix typo
author asl
date Tue, 11 Apr 2006 19:18:01 +0000
parents 84bb9baeb0e1
children 4a81fad4d2b4
line wrap: on
line diff
--- a/packages/kernel/current/doc/kernel.sgml
+++ b/packages/kernel/current/doc/kernel.sgml
@@ -4380,8 +4380,8 @@ isr_function(cyg_vector_t vector, cyg_ad
 
     …
 
-    return dsr_required ? 
-        (CYG_ISR_CALL_DSR : CYG_ISR_HANDLED) :
+    return dsr_required ?
+        (CYG_ISR_CALL_DSR | CYG_ISR_HANDLED) :
         CYG_ISR_HANDLED;
 }
           </programlisting>
@@ -4435,8 +4435,8 @@ improves interrupt latency.
           <term>cyg_DSR_t <parameter>dsr</parameter></term>
           <listitem><para>
 If an interrupt has occurred and the ISR has returned a value
-<literal>CYG_ISR_CALL_DSR</literal> bit being set, the system 
-will call the deferred service routine or DSR associated with this interrupt
+with <literal>CYG_ISR_CALL_DSR</literal> bit being set, the system
+will call the DSR associated with this interrupt
 handler. If the scheduler is not currently locked then the DSR will
 run immediately. However if the interrupted thread was in the middle
 of a kernel call and had locked the scheduler, then the DSR will be