mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
8ebc185caf
This new version of the system_clock pkg does no longer depend on the presence of an external 'Rtc' service as previously provided by the Sculpt base system. Instead, it hosts the rtc_drv inside the subsystem. Because rtc_drv is board-dependent, the system_clock pkg is named system_clock-pc now. Issue #4281
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
<runtime ram="4M" caps="300" binary="init">
|
|
|
|
<provides> <rtc/> </provides>
|
|
|
|
<requires> <timer/> <irq/> <io_port/> </requires>
|
|
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="init"/>
|
|
<rom label="rtc_drv"/>
|
|
<rom label="system_rtc"/>
|
|
</content>
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="Timer"/>
|
|
</parent-provides>
|
|
|
|
<default caps="100"/>
|
|
|
|
<service name="Rtc">
|
|
<default-policy> <child name="system_rtc"/> </default-policy> </service>
|
|
|
|
<start name="rtc_drv">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides> <service name="Rtc"/> </provides>
|
|
<config/>
|
|
<route>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="system_rtc">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides> <service name="Rtc"/> </provides>
|
|
<config/>
|
|
<route>
|
|
<service name="Rtc"> <child name="rtc_drv"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
</config>
|
|
|
|
</runtime>
|