paul@158 | 1 | -- vim:set ft=lua: |
paul@158 | 2 | |
paul@158 | 3 | local L4 = require("L4"); |
paul@158 | 4 | |
paul@158 | 5 | local l = L4.default_loader; |
paul@158 | 6 | |
paul@160 | 7 | local pipe_server = l:new_channel(); |
paul@158 | 8 | |
paul@158 | 9 | l:startv({ |
paul@158 | 10 | caps = { |
paul@160 | 11 | server = pipe_server:svr(), |
paul@160 | 12 | }, |
paul@160 | 13 | log = { "pipes", "r" }, |
paul@160 | 14 | }, |
paul@160 | 15 | "rom/dstest_pipe_server", "10"); |
paul@160 | 16 | |
paul@160 | 17 | local host_server = l:new_channel(); |
paul@160 | 18 | |
paul@160 | 19 | l:startv({ |
paul@160 | 20 | caps = { |
paul@160 | 21 | pipes = pipe_server, |
paul@160 | 22 | server = host_server:svr(), |
paul@158 | 23 | }, |
paul@158 | 24 | log = { "server", "r" }, |
paul@158 | 25 | }, |
paul@158 | 26 | "rom/dstest_host_server", "10"); |
paul@158 | 27 | |
paul@158 | 28 | l:startv({ |
paul@158 | 29 | caps = { |
paul@160 | 30 | server = host_server, |
paul@158 | 31 | }, |
paul@158 | 32 | log = { "client", "g" }, |
paul@158 | 33 | }, |
paul@167 | 34 | "rom/dstest_file_readdir", "rom"); |