Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ -33,15 +33,18 @@ static L4_Word_t init_stack_s[STACK_SIZE];
- // Init thread - This function starts up our device drivers and runs the first
- // user program.
- // TODO can this execute more than one process?
- static void init_thread(void)
- {
- - // Initialise the network for libsos_logf_init
- + // Initialize the network for libsos_logf_init
- network_init();
- + // Initialize the serial connection
- + sos_init_serial();
- +
- // run the testsuite
- testsuite_run();
- // Loop through the BootInfo starting executables
- int i;
- L4_Word_t task = 0;
- @@ -65,14 +68,12 @@ static void init_thread(void)
- (void*) L4_SimpleExec_TextVstart(binfo_rec),
- (void*) 0x30000000);
- dprintf(0, "Created task: %lx\n", sos_tid2task(newtid));
- }
- - sos_init_serial();
- -
- // Thread finished - block forever
- for (;;)
- sos_usleep(30 * 1000 * 1000);
- }
Add Comment
Please, Sign In to add comment