rtemsbsd: Add call to program with a data restore

This adds the rtems_bsd_program_call_main_width_data_restore function.
This commit is contained in:
Christian Mauderer
2016-07-15 11:39:48 +02:00
committed by Sebastian Huber
parent 110dbd0267
commit c78c296336
3 changed files with 62 additions and 0 deletions

View File

@@ -53,6 +53,11 @@ int
rtems_bsd_program_call_main(const char *name, int (*main)(int, char **),
int argc, char **argv);
int
rtems_bsd_program_call_main_with_data_restore(const char *name,
int (*main)(int, char **), int argc, char **argv,
const void *data_buf, const size_t data_size);
void
rtems_bsd_program_exit(int exit_code) __dead2;