source: mainline/contrib/arch/uspace/srv/loader/loader.adl@ 6b10dab

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

more unification of basic types

  • use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
  • remove ipcarg_t in favour of sysarg_t

(no change in functionality)

  • Property mode set to 100644
File size: 656 bytes
RevLine 
[ea5f46d]1interface 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
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.