Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1547 → Rev 1548

/demos/trunk/loader/shark/func.h
65,7 → 65,7
#define generic_task_endcycle() task_endcycle()
/* The job is finished */
 
#define generic_end_simulation() sys_end()
#define generic_end_simulation() exit(0)
/* Exit from simulation */
 
#define printf cprintf
/demos/trunk/loader/shark/initfile.c
121,8 → 121,6
 
device_drivers_close();
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
sys_abort_shutdown(0);
 
return NULL;
}
 
138,7 → 136,7
shutdown_task_PID = task_create("Shutdown Task", shutdown_task_body, &nrt, NULL);
if (shutdown_task_PID == NIL) {
sys_shutdown_message("Error: Cannot create shutdown task\n");
sys_end();
exit(0);
}
 
}
/demos/trunk/loader/shark/shark.c
137,11 → 137,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
 
178,7 → 178,7
 
#else
 
sys_end();
exit(0);
 
#endif