[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces ConfigStorage.nc,
1.1.2.3, 1.1.2.4
David Gay
idgay at users.sourceforge.net
Wed Jun 7 16:11:29 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6542/tos/interfaces
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
ConfigStorage.nc
Log Message:
update config volume spec, interface, implementation to reflect decision
to read data as of last commit
Index: ConfigStorage.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/ConfigStorage.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** ConfigStorage.nc 31 May 2006 14:37:38 -0000 1.1.2.3
--- ConfigStorage.nc 7 Jun 2006 23:11:27 -0000 1.1.2.4
***************
*** 53,57 ****
* Initiate a read operation within a given volume. On SUCCESS, the
* <code>readDone</code> event will signal completion of the
! * operation.
*
* @param addr starting address to begin reading.
--- 53,58 ----
* Initiate a read operation within a given volume. On SUCCESS, the
* <code>readDone</code> event will signal completion of the
! * operation. The data read is the contents of the config volume
! * as of the last commit operation.
*
* @param addr starting address to begin reading.
***************
*** 63,66 ****
--- 64,69 ----
* <li>EOFF if the volume has not been mounted
* <li>EBUSY if a request is already being processed.
+ * <li>FAIL if the volume does not contain valid data
+ * (see <code>valid</code>)
*/
command error_t read(storage_addr_t addr, void* buf, storage_len_t len);
***************
*** 144,148 ****
* a volume makes it valid.
*
! * @return TRUE if the volume contains valid data, FALSE otherwise.
*/
command bool valid();
--- 147,152 ----
* a volume makes it valid.
*
! * @return TRUE if the volume contains valid data, FALSE otherwise. The
! * result is undefined if the volume hasn't been mounted.
*/
command bool valid();
More information about the Tinyos-2-commits
mailing list