Changeset bb9ec2d in mainline for uspace/lib/c/include
- Timestamp:
- 2017-03-07T20:47:35Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a737667e
- Parents:
- e796dc8
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-07 20:47:35)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-07 20:47:35)
- Location:
- uspace/lib/c/include
- Files:
-
- 1 added
- 7 edited
-
elf/elf_load.h (modified) (1 diff)
-
elf/elf_mod.h (modified) (1 diff)
-
ipc/loader.h (modified) (1 diff)
-
loader/loader.h (modified) (1 diff)
-
loader/pcb.h (modified) (2 diffs)
-
task.h (modified) (1 diff)
-
vfs/inbox.h (added)
-
vfs/vfs.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/elf/elf_load.h
re796dc8 rbb9ec2d 45 45 } elf_info_t; 46 46 47 extern int elf_load( const char *, elf_info_t *);47 extern int elf_load(int, elf_info_t *); 48 48 extern void elf_set_pcb(elf_info_t *, pcb_t *); 49 49 -
uspace/lib/c/include/elf/elf_mod.h
re796dc8 rbb9ec2d 108 108 109 109 extern const char *elf_error(unsigned int); 110 extern int elf_load_file(const char *, size_t, eld_flags_t, elf_finfo_t *); 110 extern int elf_load_file(int, size_t, eld_flags_t, elf_finfo_t *); 111 extern int elf_load_file_name(const char *, size_t, eld_flags_t, elf_finfo_t *); 111 112 112 113 #endif -
uspace/lib/c/include/ipc/loader.h
re796dc8 rbb9ec2d 42 42 LOADER_GET_TASKID, 43 43 LOADER_SET_CWD, 44 LOADER_SET_P ATHNAME,44 LOADER_SET_PROGRAM, 45 45 LOADER_SET_ARGS, 46 LOADER_ SET_FILES,46 LOADER_ADD_INBOX, 47 47 LOADER_LOAD, 48 48 LOADER_RUN -
uspace/lib/c/include/loader/loader.h
re796dc8 rbb9ec2d 47 47 extern int loader_get_task_id(loader_t *, task_id_t *); 48 48 extern int loader_set_cwd(loader_t *); 49 extern int loader_set_pathname(loader_t *, const char *); 49 extern int loader_set_program(loader_t *, const char *, int); 50 extern int loader_set_program_path(loader_t *, const char *); 50 51 extern int loader_set_args(loader_t *, const char *const[]); 51 extern int loader_ set_files(loader_t *, int *const[]);52 extern int loader_add_inbox(loader_t *, const char *, int); 52 53 extern int loader_load_program(loader_t *); 53 54 extern int loader_run(loader_t *); -
uspace/lib/c/include/loader/pcb.h
re796dc8 rbb9ec2d 41 41 typedef void (*entry_point_t)(void); 42 42 43 struct pcb_inbox_entry { 44 char *name; 45 int file; 46 }; 47 43 48 /** Program Control Block. 44 49 * … … 60 65 char **argv; 61 66 62 /** Number of preset files. */ 63 unsigned int filc; 67 /** List of inbox files. */ 68 struct pcb_inbox_entry *inbox; 69 int inbox_entries; 64 70 65 71 /* -
uspace/lib/c/include/task.h
re796dc8 rbb9ec2d 57 57 const char *const []); 58 58 extern int task_spawnvf(task_id_t *, task_wait_t *, const char *path, 59 const char *const [], int *const []);59 const char *const [], int, int, int); 60 60 extern int task_spawn(task_id_t *, task_wait_t *, const char *path, int, 61 61 va_list ap); -
uspace/lib/c/include/vfs/vfs.h
re796dc8 rbb9ec2d 63 63 extern void vfs_exchange_end(async_exch_t *); 64 64 65 extern int _vfs_walk(int parent, const char *path, int flags);66 extern int _vfs_open(int file, int mode);67 extern int vfs_lookup(const char * path);65 extern int _vfs_walk(int, const char *, int); 66 extern int _vfs_open(int, int); 67 extern int vfs_lookup(const char *); 68 68 69 extern int vfs_pass_handle(async_exch_t * vfs_exch, int file, async_exch_t *exch);70 extern int vfs_receive_handle( void);69 extern int vfs_pass_handle(async_exch_t *, int, async_exch_t *); 70 extern int vfs_receive_handle(bool); 71 71 72 extern int vfs_clone(int file, bool high_descriptor); 73 72 extern int vfs_clone(int, bool); 74 73 75 74 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
