[Tinyos-beta-commits] CVS: tinyos-1.x/beta/teps/txt tep107.txt, 1.4, 1.5

Phil Levis scipio at users.sourceforge.net
Thu Jul 7 14:28:46 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/teps/txt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6137

Modified Files:
	tep107.txt 
Log Message:
Relaxed Init.init() restrictions to allow for hardware initialization.


Index: tep107.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/teps/txt/tep107.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tep107.txt	26 Jun 2005 18:54:27 -0000	1.4
--- tep107.txt	7 Jul 2005 21:28:44 -0000	1.5
***************
*** 185,196 ****
       implementations SHOULD use a spin loop to test for when
       an interrupt has been issued.
!   2) If no such flag exists, the Init.init() implementation may
       temporarily enable interrupts. It MUST NOT call any other
       component or return unless it has re-disabled interrupts.
  
! The Init.init() command MUST NOT call any commands or signal any
! events, except for calling Init.init() on other components. A
! component SHOULD NOT call Init.init() on other components unless
! it needs to enforce a temporal ordering on initialization. If a
  component A depends on another component, B, which needs to be 
  initialized, then A SHOULD wire B's Init directly to the boot
--- 185,199 ----
       implementations SHOULD use a spin loop to test for when
       an interrupt has been issued.
!   2) If no such flag exists, the Init.init() implementation MAY
       temporarily enable interrupts. It MUST NOT call any other
       component or return unless it has re-disabled interrupts.
  
! Unless part of a hardware abstraction architecture (HAA)[tep2]_, the 
! Init.init() command MUST NOT call any commands or signal any
! events, except for calling Init.init() on other components. An HAA
! component MAY make other calls to initialize hardware state. A
! component that is not part of an HAA SHOULD NOT call Init.init() on 
! other components unless it needs to enforce a temporal ordering on 
! initialization. If a
  component A depends on another component, B, which needs to be 
  initialized, then A SHOULD wire B's Init directly to the boot
***************
*** 212,215 ****
  ====================================================================
  
! .. [rst] reStructuredText Markup Specification. <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html>
   
--- 215,218 ----
  ====================================================================
  
! .. [tep2] TEP 2: Hardware Abstraction Architecture. Vladi Handziski, Joseph Polastre, Jan-Hinrich Hauer, Cory Sharp. Adam Wolisz and David Culler.
   



More information about the Tinyos-beta-commits mailing list