sigil/tests/test.dhall

33 lines
919 B
Plaintext
Raw Normal View History

2021-03-28 15:07:21 +02:00
let Sigil = env:DHALL_SIGIL
2020-04-13 20:26:01 +02:00
2021-03-28 15:07:21 +02:00
let Prelude = Sigil.Prelude
2020-04-13 20:26:01 +02:00
2021-03-28 15:07:21 +02:00
let Init = Sigil.Init
2020-04-13 20:26:01 +02:00
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
2021-03-28 15:07:21 +02:00
, rom : Sigil.BootModules.Type
2020-04-13 20:26:01 +02:00
}
2021-03-28 15:07:21 +02:00
, default.rom = [] : Sigil.BootModules.Type
2020-04-13 20:26:01 +02:00
, 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
]
}
}
}