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

40 lines
1.2 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 manifest = env:MANIFEST
2020-01-17 19:27:04 +01:00
in { config =
Genode.Init::{
, children =
toMap
{ solo5 =
Genode.Init.Start::{
, binary = "solo5-test_blk"
, exitPropagate = True
2020-01-17 19:27:04 +01:00
, resources = { caps = 256, ram = Genode.units.MiB 3 }
, routes =
[ Genode.ServiceRoute.parent "Timer"
, Genode.ServiceRoute.child "Block" "block"
]
}
, block =
Genode.Init.Start::{
, binary = "ram_block"
, provides = [ "Block" ]
, resources = { caps = 96, ram = Genode.units.MiB 9 }
, config =
Some
( Genode.Prelude.XML.text
''
<config size="8M" block_size="4096"/>
''
)
}
}
}
, rom =
Genode.Boot.toRomPaths
[ manifest.solo5-tests.bin.solo5-test_blk, manifest.os.bin.ram_block ]
2020-01-17 19:27:04 +01:00
}