[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla/types Agilla.h, 1.27.2.2, 1.27.2.3 MigrationMsgs.h, 1.14, 1.14.2.1

Chien-Liang Fok chien-liang at users.sourceforge.net
Mon Nov 20 22:55:43 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/types
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14117/types

Modified Files:
      Tag: GroupComm
	Agilla.h MigrationMsgs.h 
Log Message:
It works.

Index: Agilla.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/types/Agilla.h,v
retrieving revision 1.27.2.2
retrieving revision 1.27.2.3
diff -C2 -d -r1.27.2.2 -r1.27.2.3
*** Agilla.h	15 Nov 2006 09:40:21 -0000	1.27.2.2
--- Agilla.h	21 Nov 2006 06:55:40 -0000	1.27.2.3
***************
*** 339,346 ****
    AgillaHeap            heap;       // the heap
    AgillaValue           desc;       // a description of the agent
  
    // The following are used internally by the VM and not migrated
!   uint8_t               rstate;      // possible values: AGILLA_RSTATE_IDLE, AGILLA_RSTATE_EXEC
!   uint8_t               pstate;      // the previous state of the agent prior to executing rxn
    int16_t               sBlock;      // starting code block ID
    uint8_t               state;       // state of the agent (AGILLA_STATE_IDLE)
--- 339,347 ----
    AgillaHeap            heap;       // the heap
    AgillaValue           desc;       // a description of the agent
+   uint8_t               rstate;      // possible values: AGILLA_RSTATE_IDLE, AGILLA_RSTATE_EXEC  
+   uint8_t               pstate;      // the previous state of the agent prior to executing rxn
  
    // The following are used internally by the VM and not migrated
!   
    int16_t               sBlock;      // starting code block ID
    uint8_t               state;       // state of the agent (AGILLA_STATE_IDLE)

Index: MigrationMsgs.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/types/MigrationMsgs.h,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -d -r1.14 -r1.14.2.1
*** MigrationMsgs.h	18 May 2006 19:58:41 -0000	1.14
--- MigrationMsgs.h	21 Nov 2006 06:55:41 -0000	1.14.2.1
***************
*** 107,112 ****
    uint8_t numHpMsgs;          // 1: the number of heap messages
    uint8_t numRxnMsgs;         // 1: the number of reaction messages
    AgillaValue desc;          // 2: a description of the agent
! } AgillaStateMsg; // 18 bytes
  
  // The state msg needs and ACK to tell the sending node whether it is
--- 107,114 ----
    uint8_t numHpMsgs;          // 1: the number of heap messages
    uint8_t numRxnMsgs;         // 1: the number of reaction messages
+   uint8_t pstate;             // 1 the previous state
+   uint8_t rstate;             // 1: the reaction state
    AgillaValue desc;          // 2: a description of the agent
! } AgillaStateMsg; // 20 bytes
  
  // The state msg needs and ACK to tell the sending node whether it is



More information about the Tinyos-contrib-commits mailing list