18 months ago | Paul Boddie | file changeset files shortlog | On MIPS32, at least, in a payload started by libexec, the main thread is not necessarily returned correctly by pthread_l4_cap(pthread_self()). So a workaround is used when a server is initialised for the main thread. |
paul@428 | 1 | -- vim:set ft=lua: |
paul@428 | 2 | |
paul@428 | 3 | local L4 = require("L4"); |
paul@428 | 4 | |
paul@428 | 5 | local l = L4.default_loader; |
paul@428 | 6 | |
paul@428 | 7 | l:startv({ |
paul@428 | 8 | log = { "align", "g" }, |
paul@428 | 9 | }, |
paul@428 | 10 | "rom/dstest_align"); |