X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fpxa27x%2FMcuSleepC.nc;h=45f98c7eefc5e4524e4c402fe36f88abed035588;hb=d0ac870a232fc232fb630ad64874aadbf1b244a6;hp=85d6864f7135273795b962ccf86ce08311be100d;hpb=c7c109027e0fd413de7ddaadd8afe670afb33fdf;p=tinyos-2.x.git diff --git a/tos/chips/pxa27x/McuSleepC.nc b/tos/chips/pxa27x/McuSleepC.nc index 85d6864f..45f98c7e 100644 --- a/tos/chips/pxa27x/McuSleepC.nc +++ b/tos/chips/pxa27x/McuSleepC.nc @@ -58,6 +58,8 @@ implementation { : "r" (PWRMODE_M_IDLE) ); __nesc_enable_interrupt(); + // All of memory may change at this point... + asm volatile ("" : : : "memory"); __nesc_disable_interrupt(); return; }