[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote2
TrickleM.nc, 1.4, 1.5
Robbie Adler
radler at users.sourceforge.net
Tue Sep 6 11:06:33 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23586
Modified Files:
TrickleM.nc
Log Message:
added disableDCache call to reboot routine to allow it to function correctly when the DCache is enabled
Index: TrickleM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2/TrickleM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TrickleM.nc 2 Sep 2005 23:39:58 -0000 1.4
--- TrickleM.nc 6 Sep 2005 18:06:31 -0000 1.5
***************
*** 4,7 ****
--- 4,10 ----
* Date: 09/02/2005
*/
+
+ includes mmu;
+
module TrickleM {
provides interface StdControl as Control;
***************
*** 126,129 ****
--- 129,133 ----
uint32_t binSize = (uint32_t)&__Binary_Mover_true_end;
uint8_t *rebootBinary;
+ disableDCache();
binSize -= (uint32_t)__Binary_Mover;
rebootBinary = (uint8_t *)malloc(binSize);
More information about the Tinyos-beta-commits
mailing list