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

44 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-01-17 01:24:34 +01:00
-- SPDX-License-Identifier: CC0-1.0
2019-10-22 19:20:26 +02:00
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)
2020-01-17 19:27:04 +01:00
→ { config =
Init::{
2020-01-17 19:27:04 +01:00
, 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" ]
}
2020-01-14 12:16:02 +01:00
}
2020-01-17 19:27:04 +01:00
}
, rom = Genode.BootModules.toRomPaths [ testBinary ]
2019-10-22 19:20:26 +02:00
}