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

34 lines
944 B
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
2020-01-17 19:27:04 +01:00
let os = env:OS_MANIFEST
let tests = env:SOLO5_TEST_MANIFEST
let test = tests.bin.solo5-test_time
in { config =
Genode.Init::{
, children =
toMap
{ solo5 =
Genode.Init.Start::{
, binary = test.mapKey
, resources = { caps = 256, ram = Genode.units.MiB 3 }
, routes =
[ Genode.ServiceRoute.parent "Timer"
, Genode.ServiceRoute.child "Rtc" "clock"
]
}
, clock =
Genode.Init.Start::{
, binary = "rtc_drv"
, provides = [ "Rtc" ]
, routes = [ Genode.ServiceRoute.parent "IO_PORT" ]
}
}
}
, rom = Genode.Boot.toRomPaths [ test, os.bin.rtc_drv ]
2020-01-17 19:27:04 +01:00
}