Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1549 → Rev 1550

/demos/trunk/first/test2.c
69,11 → 69,11
 
FTrace_send_chunk(main_chunk, 0, FTRACE_CHUNK_FLAG_FREE | FTRACE_CHUNK_FLAG_CYC);
 
sys_end();
exit(0);
 
#else
sys_end();
exit(0);
 
#endif
 
247,7 → 247,7
err = pthread_create(&j, NULL, test_task_variable, NULL);
if (err) {
perror("Could not create task...");
sys_end();
exit(1);
}
 
err=fsf_bind_local_thread_to_server(server, j, (fsf_sched_params_t *)(&pr));
254,7 → 254,7
if (err) {
grx_close();
kern_printf("Could not bind task.. %d", err);
sys_end();
exit(1);
}
 
284,7 → 284,7
if (err) {
grx_close();
perror("Could not create task...");
sys_end();
exit(1);
}
 
err=fsf_bind_local_thread_to_server(server, j,(fsf_sched_params_t *)(&pr));
291,7 → 291,7
if (err) {
grx_close();
perror("Could not bind task..");
sys_end();
exit(1);
}
 
318,7 → 318,7
 
#else
 
sys_end();
exit(0);
 
#endif
}
387,12 → 387,12
if (err) cprintf("(FSF ERROR %d)",err);
//graphic card Initialization
if (grx_init() < 1) {
sys_end();
exit(1);
}
 
if (grx_open(800, 600, 16) < 0) {
cprintf("GRX Err\n");
sys_end();
exit(0);
}
 
layout_screen();