package mirage
The MirageOS library operating system
Install
dune-project
Dependency
Authors
Maintainers
Sources
mirage-4.10.0.tbz
sha256=795cc176ffbc67363d4c4ef69354aced9681c0b1e24bf93f0a270975ee0b608b
sha512=96a2fb3971613b146371a02af1ce59c73ca86dd1f42c0c47334bfbabe7d5f4cffb080c2c585e2e21fe3d33133bbe86b703cb9d276dd86ce3a90a544f03293af5
doc/src/mirage.devices/argv.ml.html
Source file argv.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
open Functoria.DSL let ty = Functoria.argv let no_argv = let connect _ _ _ = code ~pos:__POS__ "return [|\"\"|]" in impl ~connect "Mirage_runtime" ty let impl sublib = let packages = [ package ~min:"1.0.0" ~max:"2.0.0" ~sublibs:[ ""; sublib ] "mirage-bootvar"; ] in let connect _ _ _ = code ~pos:__POS__ "return (Mirage_bootvar.argv ())" in impl ~packages ~connect "Mirage_bootvar" ty let argv_unix = impl "unix" let argv_solo5 = impl "solo5" let argv_xen = impl "xen" let default_argv = match_impl Key.(value target) [ (`Xen, argv_xen); (`Qubes, argv_xen); (`Virtio, argv_solo5); (`Hvt, argv_solo5); (`Muen, argv_solo5); (`Genode, argv_solo5); (`Spt, argv_solo5); ] ~default:argv_unix
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>