[Tinyos-devel] parameterization of UartStream, diffs attached
Eric Decker
cire831 at gmail.com
Wed May 7 20:23:06 PDT 2008
On Wed, May 7, 2008 at 2:34 AM, Vlado Handziski <handzisk at tkn.tu-berlin.de>
wrote:
> Thanks for contributing!
>
> We have to talk with the maintainers of the other platforms to see if we
> want to make this change in sync or not. Even though other platforms are
> currently not sharing the UART, they might in the future (like in your case)
> so it would be good to have the infrastructure in place.
>
> From a quick glance at the diff, the code seems to be fine, but we need to
> go over the test apps to be sure. Also, for the client id in the events you
> might want to use the same scheme as in SpiPacket where the client id is
> retrieved from a module variable (helps to enforce that the id that
> initiated the command is really the one receiving the event in the edge case
> where there has been a switch of ownership between the completion of the
> command/event pair.)
So this is to handle the case where a client releases the resource another
client is granted and then the interrupt comes
in and is delivered to the wrong client?
If that is correct, I think it might be better to enforce the mechanism
where if an interrupting resource is release that it
is deconfigured which requires that the interrupts be turned off.
eric
I think a better a
> Vlado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080507/530c60b0/attachment.htm
More information about the Tinyos-devel
mailing list