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

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-01-17 01:24:34 +01:00
2019-10-22 19:20:26 +02:00
let Genode = env:DHALL_GENODE
let Init = Genode.Init
let Child = Init.Child
2020-01-17 19:27:04 +01:00
2020-04-13 20:26:01 +02:00
let init =
Init::{
, children = toMap
{ solo5 =
Child.flat
Child.Attributes::{
, binary = "solo5-test_blk"
, exitPropagate = True
, resources = Init.Resources::{
, caps = 256
, ram = Genode.units.MiB 3
}
, routes =
[ Init.ServiceRoute.parent "Timer"
, Init.ServiceRoute.child "Block" "block"
]
}
, block =
Child.flat
Child.Attributes::{
, binary = "ram_block"
, provides = [ "Block" ]
, resources = Init.Resources::{ ram = Genode.units.MiB 9 }
, config = Init.Config::{
, attributes = toMap { size = "8M", block_size = "4096" }
}
}
}
}
2020-04-13 20:26:01 +02:00
in Init.toChild init Init.Attributes.default