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
|
Line | |
---|
1 | interface loader extends service {
|
---|
2 | /* Set task pathname */
|
---|
3 | sysarg_t set_pathname(in_copy string pathname);
|
---|
4 |
|
---|
5 | /* Set task arguments */
|
---|
6 | sysarg_t set_args(in_copy stream args);
|
---|
7 |
|
---|
8 | /* Set task initial files */
|
---|
9 | sysarg_t set_files(in_copy stream files);
|
---|
10 |
|
---|
11 | /* Get task ID */
|
---|
12 | sysarg_t get_taskid(out_copy stream id);
|
---|
13 |
|
---|
14 | /* Load binary */
|
---|
15 | sysarg_t load(void);
|
---|
16 |
|
---|
17 | /* Run binary */
|
---|
18 | sysarg_t run(void);
|
---|
19 | protocol:
|
---|
20 | [loader.bp]
|
---|
21 | };
|
---|
22 |
|
---|
23 | frame loader {
|
---|
24 | provides:
|
---|
25 | loader loader;
|
---|
26 | requires:
|
---|
27 | [/uspace/lib/libc/requires]
|
---|
28 | ns ns;
|
---|
29 | initialization:
|
---|
30 | !ns.id_intro ;
|
---|
31 | !ns.ipc_m_connect_to_me /* loader */
|
---|
32 | protocol:
|
---|
33 | [/uspace/lib/libc/protocol]
|
---|
34 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.