[Tinyos-beta-commits] CVS: tinyos-1.x/beta/STM25P/STM25P StorageManagerM.nc, 1.8, 1.9

Jonathan Hui jwhui at users.sourceforge.net
Mon Jun 27 10:55:11 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/STM25P/STM25P
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13941/STM25P

Modified Files:
	StorageManagerM.nc 
Log Message:
Added support for TOSSIM. The stack is simulated at the HPL level to
capture any logic above that layer.



Index: StorageManagerM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/STM25P/STM25P/StorageManagerM.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** StorageManagerM.nc	23 Jun 2005 18:39:47 -0000	1.8
--- StorageManagerM.nc	27 Jun 2005 17:55:08 -0000	1.9
***************
*** 1,5 ****
  // $Id$
  
! /*									tab:4
   * "Copyright (c) 2000-2005 The Regents of the University  of California.  
   * All rights reserved.
--- 1,5 ----
  // $Id$
  
! /*									tab:2
   * "Copyright (c) 2000-2005 The Regents of the University  of California.  
   * All rights reserved.
***************
*** 201,205 ****
  	if (call HALSTM25P.read(addr, &sectorTable, sizeof(SectorTable)) == FAIL)
  	  return FAIL;
! 	if (sectorTable.crc == computeSectorTableCrc())
  	  break;
        }
--- 201,206 ----
  	if (call HALSTM25P.read(addr, &sectorTable, sizeof(SectorTable)) == FAIL)
  	  return FAIL;
! 	if (sectorTable.crc == computeSectorTableCrc()
! 	    && sectorTable.crc != 0)
  	  break;
        }



More information about the Tinyos-beta-commits mailing list