Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.94 KB | None | 0 0
  1. @ -33,15 +33,18 @@ static L4_Word_t init_stack_s[STACK_SIZE];
  2.  
  3.  // Init thread - This function starts up our device drivers and runs the first
  4.  // user program.
  5.  // TODO can this execute more than one process?
  6.  static void init_thread(void)
  7.  {
  8. -    // Initialise the network for libsos_logf_init
  9. +    // Initialize the network for libsos_logf_init
  10.      network_init();
  11.  
  12. +    // Initialize the serial connection
  13. +    sos_init_serial();
  14. +
  15.      // run the testsuite
  16.      testsuite_run();
  17.  
  18.      // Loop through the BootInfo starting executables
  19.      int i;
  20.      L4_Word_t task = 0;
  21. @@ -65,14 +68,12 @@ static void init_thread(void)
  22.                  (void*) L4_SimpleExec_TextVstart(binfo_rec),
  23.                  (void*) 0x30000000);
  24.  
  25.          dprintf(0, "Created task: %lx\n", sos_tid2task(newtid));
  26.      }
  27.  
  28. -    sos_init_serial();
  29. -
  30.      // Thread finished - block forever
  31.      for (;;)
  32.          sos_usleep(30 * 1000 * 1000);
  33.  }
Add Comment
Please, Sign In to add comment