2
0
Fork 0
genodepkgs/tests/solo5/simple.dhall

44 lines
1.3 KiB
Plaintext

-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE
let Prelude = Genode.Prelude
let Init = Genode.Init
let Child = Init.Child
let Config = Init.Config
in λ(testBinary : Prelude.Map.Entry Text Text)
→ { config =
Init::{
, children =
toMap
{ solo5 =
Child.flat
Child.Attributes::{
, binary = testBinary.mapKey
, exitPropagate = True
, resources =
Init.Resources::{
, caps = 256
, ram = Genode.units.MiB 3
}
, config =
Config::{
, content =
[ Prelude.XML.element
{ name = "cmdline"
, attributes = Prelude.XML.emptyAttributes
, content = [ Prelude.XML.text "Hello_Solo5" ]
}
]
}
, routes = [ Init.ServiceRoute.parent "Timer" ]
}
}
}
, rom = Genode.BootModules.toRomPaths [ testBinary ]
}