Hi all,

I'm rather new in TinyOS and I'm currently working on a port to a new
architecture and am therefore carefully reading TEPs and intensively looking
into other architectures implementations.

I cannot understand the handling of the "dirty bit" used in power
management. The dirty bit mechanism is described in TEP112 (
http://www.tinyos.net/tinyos-2.1.0/doc/html/tep112.html) section 3.1 but I
could not find in TOS sources where this "flag" is reset !

I could see that the flag is set to 1 or TRUE for some MCUs in chips
directory but could not find any place in the whole sources where this flag
gets reset ?... (some cale in msp430/McuSleepC.nc have a commented '// dirty
= 0' in McuSleep.sleep()

- Is this flag really useful and used in TinyOS 2.1 ?
- If yes, how/when should this flag be reset ?

Thanks for any hint and see you !
  Romain
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to