source:
mainline/contrib/arch/uspace/srv/loader/loader.adl@
5e3eea10
| Last change on this file since 5e3eea10 was 96b02eb9, checked in by , 15 years ago | |
|---|---|
|
|
| File size: 656 bytes | |
| Rev | Line | |
|---|---|---|
| [ea5f46d] | 1 | interface loader extends service { |
| 2 | /* Set task pathname */ | |
| [96b02eb9] | 3 | sysarg_t set_pathname(in_copy string pathname); |
| [ea5f46d] | 4 | |
| 5 | /* Set task arguments */ | |
| [96b02eb9] | 6 | sysarg_t set_args(in_copy stream args); |
| [ea5f46d] | 7 | |
| 8 | /* Set task initial files */ | |
| [96b02eb9] | 9 | sysarg_t set_files(in_copy stream files); |
| [ea5f46d] | 10 | |
| 11 | /* Get task ID */ | |
| [96b02eb9] | 12 | sysarg_t get_taskid(out_copy stream id); |
| [ea5f46d] | 13 | |
| 14 | /* Load binary */ | |
| [96b02eb9] | 15 | sysarg_t load(void); |
| [ea5f46d] | 16 | |
| 17 | /* Run binary */ | |
| [96b02eb9] | 18 | sysarg_t run(void); |
| [ea5f46d] | 19 | protocol: |
| 20 | [loader.bp] | |
| 21 | }; | |
| 22 | ||
| 23 | frame loader { | |
| 24 | provides: | |
| 25 | loader loader; | |
| 26 | requires: | |
| [2a70672] | 27 | [/uspace/lib/libc/requires] |
| [ea5f46d] | 28 | ns ns; |
| [6d4c549] | 29 | initialization: |
| 30 | !ns.id_intro ; | |
| 31 | !ns.ipc_m_connect_to_me /* loader */ | |
| [ea5f46d] | 32 | protocol: |
| [6d4c549] | 33 | [/uspace/lib/libc/protocol] |
| [ea5f46d] | 34 | }; |
Note:
See TracBrowser
for help on using the repository browser.
