2022-06-12 | Paul Boddie | file changeset files shortlog | Reintroduced PagerObject code generation required to initiate servers. | mmap-region-flags |
paul@18 | 1 | -- vim:set ft=lua: |
paul@18 | 2 | |
paul@18 | 3 | local L4 = require("L4"); |
paul@18 | 4 | |
paul@18 | 5 | local l = L4.default_loader; |
paul@18 | 6 | |
paul@18 | 7 | local server = l:new_channel(); |
paul@18 | 8 | |
paul@38 | 9 | l:startv({ |
paul@18 | 10 | caps = { |
paul@18 | 11 | server = server:svr(), |
paul@18 | 12 | }, |
paul@18 | 13 | log = { "server", "r" }, |
paul@18 | 14 | }, |
paul@154 | 15 | "rom/dstest_test_server", "40"); |
paul@18 | 16 | |
paul@18 | 17 | l:start({ |
paul@18 | 18 | caps = { |
paul@18 | 19 | server = server, |
paul@18 | 20 | }, |
paul@154 | 21 | log = { "client1", "g" }, |
paul@18 | 22 | }, |
paul@18 | 23 | "rom/dstest_test_client"); |
paul@154 | 24 | |
paul@154 | 25 | l:start({ |
paul@154 | 26 | caps = { |
paul@154 | 27 | server = server, |
paul@154 | 28 | }, |
paul@154 | 29 | log = { "client2", "b" }, |
paul@154 | 30 | }, |
paul@154 | 31 | "rom/dstest_test_client"); |