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

34 lines
944 B
Plaintext

-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE
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 ]
}