From: liang_mike Date: Thu, 10 Sep 2009 19:36:33 +0000 (+0000) Subject: Add config storage abstraction support to TinyLD X-Git-Tag: rc_6_tinyos_2_1_1~280 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=0ff846113ff3c9eeb1f992f7c172fba301485829 Add config storage abstraction support to TinyLD --- diff --git a/tools/tinyos/tosthreads/tosthreads_standard_api.py b/tools/tinyos/tosthreads/tosthreads_standard_api.py index aa573743..4b973ad2 100644 --- a/tools/tinyos/tosthreads/tosthreads_standard_api.py +++ b/tools/tinyos/tosthreads/tosthreads_standard_api.py @@ -91,5 +91,8 @@ map_extfun = { "__divmodhi4":109, - "tosthread_join":110} + "tosthread_join":110, + + "volumeConfigMount":111, "volumeConfigRead":112, "volumeConfigWrite":113, + "volumeConfigCommit":114, "volumeConfigGetSize":115, "volumeConfigValid":116} diff --git a/tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h b/tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h index 2d07c225..dca4d4a8 100755 --- a/tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h +++ b/tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h @@ -108,7 +108,10 @@ struct addr fun[] = { {div}, - {tosthread_join} + {tosthread_join}, + + {volumeConfigMount}, {volumeConfigRead}, {volumeConfigWrite}, + {volumeConfigCommit}, {volumeConfigGetSize}, {volumeConfigValid} }; #endif