[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot Exec.nc, NONE, 1.1 TOSBoot.nc, 1.5, 1.6 TOSBootM.nc, 1.11, 1.12

Jonathan Hui jwhui at users.sourceforge.net
Fri Jul 8 15:15:08 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32243

Modified Files:
	TOSBoot.nc TOSBootM.nc 
Added Files:
	Exec.nc 
Log Message:
- Componentize jump command.



--- NEW FILE: Exec.nc ---

interface Exec {
  command void exec();
}

Index: TOSBoot.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/TOSBoot.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TOSBoot.nc	9 Jun 2005 19:29:00 -0000	1.5
--- TOSBoot.nc	8 Jul 2005 22:15:06 -0000	1.6
***************
*** 40,43 ****
--- 40,44 ----
    components
      TOSBootM,
+     ExecC,
      InternalFlashC as IntFlash,
      LedsC,
***************
*** 50,53 ****
--- 51,55 ----
    TOSBootM.SubControl -> PluginC;
  
+   TOSBootM.Exec -> ExecC;
    TOSBootM.ExtFlash -> ExtFlash;
    TOSBootM.IntFlash -> IntFlash;

Index: TOSBootM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/TOSBootM.nc,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TOSBootM.nc	30 Jun 2005 05:01:17 -0000	1.11
--- TOSBootM.nc	8 Jul 2005 22:15:06 -0000	1.12
***************
*** 31,34 ****
--- 31,35 ----
  module TOSBootM {
    uses {
+     interface Exec;
      interface InternalFlash as IntFlash;
      interface Leds;
***************
*** 201,205 ****
    void runApp() {
      call SubControl.stop();
!     __asm__ __volatile__ ("br #0x4A00\n\t" ::);
    }
  
--- 202,206 ----
    void runApp() {
      call SubControl.stop();
!     call Exec.exec();
    }
  



More information about the Tinyos-beta-commits mailing list