[Tinyos-2-commits]
CVS: tinyos-2.x/tos/chips/stm25p Stm25pBlockP.nc, 1.1.2.6, 1.1.2.7
Jonathan Hui
jwhui at users.sourceforge.net
Fri Jun 2 08:43:34 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/txt tep103.txt, 1.1.2.5,
1.1.2.6
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/at45db
At45dbStorageManagerC.nc, NONE, 1.1.2.1 At45dbVolume.nc,
1.1.2.4, 1.1.2.5 BlockStorageC.nc, 1.1.2.6,
1.1.2.7 BlockStorageP.nc, 1.1.2.13, 1.1.2.14 ConfigStorageC.nc,
1.1.2.4, 1.1.2.5 LogStorageC.nc, 1.1.2.3,
1.1.2.4 StorageManagerP.nc, 1.1.2.4, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20851
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
Stm25pBlockP.nc
Log Message:
Updates to include baseCrc arg in BlockRead interface.
Index: Stm25pBlockP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p/Attic/Stm25pBlockP.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** Stm25pBlockP.nc 17 Feb 2006 22:13:22 -0000 1.1.2.6
--- Stm25pBlockP.nc 2 Jun 2006 15:43:30 -0000 1.1.2.7
***************
*** 101,107 ****
command error_t Read.computeCrc[ storage_block_t b ]( storage_addr_t addr,
! storage_len_t len ) {
m_req.req = S_CRC;
m_req.addr = addr;
m_req.len = len;
return newRequest( b );
--- 101,109 ----
command error_t Read.computeCrc[ storage_block_t b ]( storage_addr_t addr,
! storage_len_t len,
! uint16_t crc ) {
m_req.req = S_CRC;
m_req.addr = addr;
+ m_req.buf = (void*)crc;
m_req.len = len;
return newRequest( b );
***************
*** 148,152 ****
break;
case S_CRC:
! call Sector.computeCrc[ b ]( 0, m_block_state[ b ].addr,
m_block_state[ b ].len );
break;
--- 150,155 ----
break;
case S_CRC:
! call Sector.computeCrc[ b ]( (uint16_t)m_block_state[ b ].buf,
! m_block_state[ b ].addr,
m_block_state[ b ].len );
break;
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/txt tep103.txt, 1.1.2.5,
1.1.2.6
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/at45db
At45dbStorageManagerC.nc, NONE, 1.1.2.1 At45dbVolume.nc,
1.1.2.4, 1.1.2.5 BlockStorageC.nc, 1.1.2.6,
1.1.2.7 BlockStorageP.nc, 1.1.2.13, 1.1.2.14 ConfigStorageC.nc,
1.1.2.4, 1.1.2.5 LogStorageC.nc, 1.1.2.3,
1.1.2.4 StorageManagerP.nc, 1.1.2.4, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list