source: mainline/contrib/arch/uspace/srv/loader/loader.adl@ 86018c1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 86018c1 was 6d4c549, checked in by Martin Decky <martin@…>, 16 years ago

streamline the behavior protocols
add support for initialization and finalization phase of protocols in ADL

  • Property mode set to 100644
File size: 656 bytes
RevLine 
[ea5f46d]1interface loader extends service {
2 /* Set task pathname */
3 ipcarg_t set_pathname(in_copy string pathname);
4
5 /* Set task arguments */
6 ipcarg_t set_args(in_copy stream args);
7
8 /* Set task initial files */
9 ipcarg_t set_files(in_copy stream files);
10
11 /* Get task ID */
12 ipcarg_t get_taskid(out_copy stream id);
13
14 /* Load binary */
15 ipcarg_t load(void);
16
17 /* Run binary */
18 ipcarg_t run(void);
19 protocol:
20 [loader.bp]
21};
22
23frame 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.