source:
mainline/contrib/arch/uspace/srv/loader/loader.adl
Last change on this file was f1380b7, checked in by , 7 years ago | |
---|---|
|
|
File size: 646 bytes |
Rev | Line | |
---|---|---|
[ea5f46d] | 1 | interface loader extends service { |
2 | /* Set task pathname */ | |
[96b02eb9] | 3 | sysarg_t set_pathname(in_copy string pathname); |
[f1380b7] | 4 | |
[ea5f46d] | 5 | /* Set task arguments */ |
[96b02eb9] | 6 | sysarg_t set_args(in_copy stream args); |
[f1380b7] | 7 | |
[ea5f46d] | 8 | /* Set task initial files */ |
[96b02eb9] | 9 | sysarg_t set_files(in_copy stream files); |
[f1380b7] | 10 | |
[ea5f46d] | 11 | /* Get task ID */ |
[96b02eb9] | 12 | sysarg_t get_taskid(out_copy stream id); |
[f1380b7] | 13 | |
[ea5f46d] | 14 | /* Load binary */ |
[96b02eb9] | 15 | sysarg_t load(void); |
[f1380b7] | 16 | |
[ea5f46d] | 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.