2
0
Fork 0
genodepkgs/tests/test.dhall

33 lines
925 B
Plaintext
Raw Normal View History

2020-04-13 20:26:01 +02:00
let Genode = env:DHALL_GENODE
let Prelude = Genode.Prelude
let Init = Genode.Init
2020-08-29 17:31:53 +02:00
in { Genode
2020-04-13 20:26:01 +02:00
, Type =
{ children : Prelude.Map.Type Text Init.Child.Type
, rom : Genode.BootModules.Type
}
, default.rom = [] : Genode.BootModules.Type
, initToChildren =
2020-08-29 17:31:53 +02:00
λ(init : Init.Type) →
toMap
2020-04-13 20:26:01 +02:00
{ init =
Init.toChild
init
Init.Attributes::{
, routes =
[ Init.ServiceRoute.parentLabel
"LOG"
(Some "SOTEST")
(Some "unlabeled")
, Init.ServiceRoute.parent "IO_MEM"
, Init.ServiceRoute.parent "IO_PORT"
, Init.ServiceRoute.parent "IRQ"
, Init.ServiceRoute.parent "VM"
2020-04-13 20:26:01 +02:00
]
}
}
}