19 months ago | Paul Boddie | raw annotate files changeset graph | Changed the process server to act as a plain Opener object, yielding a context through which program invocation details are communicated. Such details include program arguments which are now, once again, passed to the created process. When starting a process, only a collection of argument strings, this including the program filename, are now provided. This is to permit the indication of programs accessible to the process creator that are not necessarily resident in the filesystem of the initiating task. |
1 -- vim:set ft=lua: 2 3 local L4 = require("L4"); 4 5 local l = L4.default_loader; 6 7 local server = l:new_channel(); 8 9 l:startv({ 10 caps = { 11 server = server:svr(), 12 }, 13 log = { "server", "r" }, 14 }, 15 "rom/host_server", "10"); 16 17 l:startv({ 18 caps = { 19 server = server, 20 }, 21 log = { "client", "g" }, 22 }, 23 "rom/dstest_host_client", "rom/dstest_host_client.cfg", 1024, 1024);