Changeset 76d0d284 in mainline
- Timestamp:
- 2009-06-03T19:20:09Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca3ba3a
- Parents:
- 5779a74
- Location:
- uspace/lib/libc/include/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/loader/loader.h
r5779a74 r76d0d284 38 38 39 39 #include <task.h> 40 #include <vfs/vfs.h> 40 41 41 42 /** Abstraction of a loader connection */ … … 49 50 extern int loader_get_task_id(loader_t *, task_id_t *); 50 51 extern int loader_set_pathname(loader_t *, const char *); 51 extern int loader_set_args(loader_t *, char *const []); 52 extern int loader_set_args(loader_t *, char *const[]); 53 extern int loader_set_files(loader_t *, fs_node_t *const[]); 52 54 extern int loader_load_program(loader_t *); 53 55 extern int loader_run(loader_t *); -
uspace/lib/libc/include/loader/pcb.h
r5779a74 r76d0d284 38 38 39 39 #include <sys/types.h> 40 #include <vfs/vfs.h> 40 41 41 42 typedef void (*entry_point_t)(void); … … 46 47 * and/or to the dynamic linker. This includes the program entry point, 47 48 * arguments, environment variables etc. 49 * 48 50 */ 49 51 typedef struct { 50 52 /** Program entry point. */ 51 53 entry_point_t entry; 52 54 53 55 /** Number of command-line arguments. */ 54 56 int argc; 55 57 /** Command-line arguments. */ 56 58 char **argv; 57 59 60 /** Number of preset files. */ 61 int filc; 62 /** Preset files. */ 63 fs_node_t **filv; 64 58 65 /* 59 66 * ELF-specific data. 60 67 */ 68 61 69 /** Pointer to ELF dynamic section of the program. */ 62 70 void *dynamic;
Note:
See TracChangeset
for help on using the changeset viewer.