mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
parent
2fc6cedcc0
commit
ce633c0bba
3
repos/gems/recipes/pkg/drivers_rtc-pc/README
Normal file
3
repos/gems/recipes/pkg/drivers_rtc-pc/README
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
Device drivers needed for scenarios
|
||||
using a real time clock
|
4
repos/gems/recipes/pkg/drivers_rtc-pc/archives
Normal file
4
repos/gems/recipes/pkg/drivers_rtc-pc/archives
Normal file
@ -0,0 +1,4 @@
|
||||
_/src/rtc_drv
|
||||
_/src/system_rtc
|
||||
_/src/report_rom
|
||||
_/raw/drivers_rtc-pc
|
4
repos/gems/recipes/raw/drivers_rtc-pc/content.mk
Normal file
4
repos/gems/recipes/raw/drivers_rtc-pc/content.mk
Normal file
@ -0,0 +1,4 @@
|
||||
content: drivers.config
|
||||
|
||||
drivers.config:
|
||||
cp $(REP_DIR)/recipes/raw/drivers_rtc-pc/$@ $@
|
54
repos/gems/recipes/raw/drivers_rtc-pc/drivers.config
Normal file
54
repos/gems/recipes/raw/drivers_rtc-pc/drivers.config
Normal file
@ -0,0 +1,54 @@
|
||||
<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="report_rom">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
||||
<config verbose="yes">
|
||||
<policy label="rtc_drv -> set_rtc" report="test-system_rtc -> drv_set_rtc"/>
|
||||
<policy label="system_rtc -> set_rtc" report="test-system_rtc -> sys_set_rtc"/>
|
||||
</config>
|
||||
<route>
|
||||
<any-service> <parent/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="rtc_drv">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides><service name="Rtc"/></provides>
|
||||
<config allow_setting_rtc="true"/>
|
||||
<route>
|
||||
<service name="ROM" label="set_rtc"> <child name="report_rom"/> </service>
|
||||
<any-service> <parent/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="system_rtc">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides><service name="Rtc"/></provides>
|
||||
<config allow_setting_rtc="true"/>
|
||||
<route>
|
||||
<service name="ROM" label="set_rtc"> <child name="report_rom"/> </service>
|
||||
<service name="Rtc"> <child name="rtc_drv"/> </service>
|
||||
<any-service> <parent/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
</config>
|
2
repos/libports/recipes/src/system_rtc/content.mk
Normal file
2
repos/libports/recipes/src/system_rtc/content.mk
Normal file
@ -0,0 +1,2 @@
|
||||
SRC_DIR = src/server/system_rtc src/lib/musl_tm
|
||||
include $(GENODE_DIR)/repos/base/recipes/src/content.inc
|
3
repos/libports/recipes/src/system_rtc/used_apis
Normal file
3
repos/libports/recipes/src/system_rtc/used_apis
Normal file
@ -0,0 +1,3 @@
|
||||
base
|
||||
os
|
||||
rtc_session
|
Loading…
Reference in New Issue
Block a user