[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/pxa27x McuSleepC.nc, 1.4, 1.5
David Gay
idgay at users.sourceforge.net
Wed Jul 23 10:25:44 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12789/chips/pxa27x
Modified Files:
McuSleepC.nc
Log Message:
Remove need for volatiles in scheduler by fixing McuSleep.sleep to tell
system that memory may change when interrupts are enabled
Index: McuSleepC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/McuSleepC.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** McuSleepC.nc 12 Dec 2006 18:23:11 -0000 1.4
--- McuSleepC.nc 23 Jul 2008 17:25:42 -0000 1.5
***************
*** 59,62 ****
--- 59,64 ----
);
__nesc_enable_interrupt();
+ // All of memory may change at this point...
+ asm volatile ("" : : : "memory");
__nesc_disable_interrupt();
return;
More information about the Tinyos-2-commits
mailing list