mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
depot: merge rtc_drv into system_clock runtime pkg
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
This commit is contained in:
parent
6e32102cc6
commit
8ebc185caf
3
repos/libports/recipes/pkg/system_clock-pc/archives
Normal file
3
repos/libports/recipes/pkg/system_clock-pc/archives
Normal file
@ -0,0 +1,3 @@
|
||||
_/src/system_rtc
|
||||
_/src/rtc_drv
|
||||
_/src/init
|
54
repos/libports/recipes/pkg/system_clock-pc/runtime
Normal file
54
repos/libports/recipes/pkg/system_clock-pc/runtime
Normal file
@ -0,0 +1,54 @@
|
||||
<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>
|
@ -1 +0,0 @@
|
||||
_/src/system_rtc
|
@ -1,19 +0,0 @@
|
||||
<runtime ram="3M" caps="100" binary="system_rtc">
|
||||
|
||||
<provides>
|
||||
<rtc/>
|
||||
</provides>
|
||||
|
||||
<requires>
|
||||
<rtc/>
|
||||
<timer/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="system_rtc"/>
|
||||
</content>
|
||||
|
||||
<config allow_setting_rtc="false"/>
|
||||
|
||||
</runtime>
|
Loading…
x
Reference in New Issue
Block a user