]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/RealMainP.nc
Remove bogus 'tab:4' and 'tab:2' markers.
[tinyos-2.x.git] / tos / system / RealMainP.nc
index 6ea0e8035588600f866dcef2ecaaaf8d949336e8..6f1306c266b2e69f21e20d0844430014438f53e5 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2000-2003 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -49,7 +49,7 @@ module RealMainP {
   uses interface Init as SoftwareInit;
 }
 implementation {
-  int main() __attribute__ ((C, spontaneous)) {
+  int main() @C() @spontaneous() {
     atomic
       {
        /* First, initialize the Scheduler so components can post
@@ -57,7 +57,8 @@ implementation {
           as CPU settings, counters, etc. After the hardware is ready,
           initialize the requisite software components and start
           execution.*/
-    
+       platform_bootstrap();
+       
        call Scheduler.init(); 
     
        /* Initialize the platform. Then spin on the Scheduler, passing