diff packages/kernel/current/include/intr.hxx @ 128:0c2b7be0d798 ecos-sw-2000-10-12

Merge from eCos master repository on 2000-10-12-08:46:24-BST
author jlarmour
date Thu, 12 Oct 2000 20:31:43 +0000
parents bf00f99aec69
children eb9fd8c04db3
line wrap: on
line diff
--- a/packages/kernel/current/include/intr.hxx
+++ b/packages/kernel/current/include/intr.hxx
@@ -158,16 +158,16 @@ class Cyg_Interrupt
 
     static cyg_ucount32 dsr_table_head;
 
-    static cyg_ucount32 dsr_table_tail;
+    static volatile cyg_ucount32 dsr_table_tail;
 
 #endif
 #ifdef CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST
 
-    cyg_ucount32 dsr_count;             // Number of DSR posts made
+    cyg_ucount32 dsr_count;	      // Number of DSR posts made
 
-    Cyg_Interrupt *next_dsr;            // next DSR in list
+    volatile Cyg_Interrupt *next_dsr; // next DSR in list
     
-    static Cyg_Interrupt *dsr_list;     // static list of pending DSRs
+    static volatile Cyg_Interrupt *dsr_list; // static list of pending DSRs
     
 #endif