mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
sculpt: remove RTC driver from base system
The RTC driver is not needed by the base system and can thereby be handled as a user-installable component. Issue #4281
This commit is contained in:
parent
1072a91592
commit
7cae324726
@ -1,5 +1,4 @@
|
||||
_/raw/drivers_managed-imx8q_evk
|
||||
_/src/dummy_rtc_drv
|
||||
_/src/event_filter
|
||||
_/src/imx8_fb_drv
|
||||
_/src/imx8q_evk_drivers
|
||||
|
@ -1,7 +1,6 @@
|
||||
_/pkg/drivers_managed-pc
|
||||
_/pkg/sculpt
|
||||
_/pkg/wifi
|
||||
_/src/rtc_drv
|
||||
_/src/ipxe_nic_drv
|
||||
_/src/nvme_drv
|
||||
_/src/intel_gpu_drv
|
||||
|
@ -31,9 +31,6 @@
|
||||
<service name="Platform">
|
||||
<default-policy> <child name="platform_drv"/> </default-policy> </service>
|
||||
|
||||
<service name="Rtc">
|
||||
<default-policy> <child name="rtc_drv"/> </default-policy> </service>
|
||||
|
||||
<start name="report_rom">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
||||
@ -350,14 +347,4 @@
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="rtc_drv">
|
||||
<binary name="dummy_rtc_drv"/>
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides> <service name="Rtc"/> </provides>
|
||||
<config allow_setting_rtc="true" year="2021" month="02" day="24"
|
||||
hour="0" minute="0" second="0"/>
|
||||
<route>
|
||||
<any-service> <parent/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
</config>
|
||||
|
@ -32,9 +32,6 @@
|
||||
<service name="Platform">
|
||||
<default-policy> <child name="platform_drv"/> </default-policy> </service>
|
||||
|
||||
<service name="Rtc">
|
||||
<default-policy> <child name="rtc_drv"/> </default-policy> </service>
|
||||
|
||||
<service name="Gpu">
|
||||
<default-policy> <child name="dynamic"/> </default-policy> </service>
|
||||
|
||||
@ -188,19 +185,6 @@
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="rtc_drv">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides> <service name="Rtc"/> </provides>
|
||||
<route>
|
||||
<service name="IO_PORT"> <parent/> </service>
|
||||
<service name="LOG"> <parent/> </service>
|
||||
<service name="PD"> <parent/> </service>
|
||||
<service name="RM"> <parent/> </service>
|
||||
<service name="CPU"> <parent/> </service>
|
||||
<service name="ROM"> <parent/> </service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<!-- toggle key mappings depending on the numlock state -->
|
||||
<start name="numlock_remap_rom">
|
||||
<binary name="rom_filter"/>
|
||||
|
@ -275,7 +275,6 @@ install_config {
|
||||
<service name="Block"/>
|
||||
<service name="Usb"/>
|
||||
<service name="Platform"/>
|
||||
<service name="Rtc"/>
|
||||
<service name="Gpu"/>
|
||||
</provides>
|
||||
</start>
|
||||
@ -470,7 +469,6 @@ install_config {
|
||||
<service name="Platform" label_prefix="acpica">
|
||||
<child name="drivers" label="acpica"/> </service>
|
||||
<service name="Platform"> <child name="drivers"/> </service>
|
||||
<service name="Rtc"> <child name="drivers"/> </service>
|
||||
<service name="Gui" label_prefix="leitzentrale">
|
||||
<child name="leitzentrale"/> </service>
|
||||
<service name="Gui" label="backdrop">
|
||||
|
@ -329,7 +329,7 @@ class Sculpt::Runtime_config
|
||||
_backdrop { _r, Type::GUI, "desktop background", "backdrop" },
|
||||
_lockscreen{ _r, Type::GUI, "desktop lock screen", "lock_screen" },
|
||||
_nitpicker { _r, Type::GUI, "system GUI server" },
|
||||
_gpu { _r, Type::GPU, "system GPU" },
|
||||
_gpu { _r, Type::GPU, "GPU" },
|
||||
_lz_event { _r, Type::EVENT, "management GUI events", "leitzentrale" },
|
||||
_event { _r, Type::EVENT, "system input events", "global" },
|
||||
_lz_capture{ _r, Type::CAPTURE, "management GUI", "leitzentrale" },
|
||||
@ -349,7 +349,6 @@ class Sculpt::Runtime_config
|
||||
_io_mem { _r, Type::IO_MEM, "raw hardware access" },
|
||||
_io_port { _r, Type::IO_PORT, "raw hardware access" },
|
||||
_irq { _r, Type::IRQ, "raw hardware access" },
|
||||
_rtc { _r, Type::RTC, "hardware clock" },
|
||||
_block { _r, Type::BLOCK, "direct block-device access" },
|
||||
_usb { _r, Type::USB, "direct USB-device access" },
|
||||
_pci_wifi { _r, Type::PLATFORM, "wifi hardware", "wifi" },
|
||||
|
@ -25,11 +25,13 @@ void Sculpt::gen_wifi_drv_start_content(Xml_generator &xml)
|
||||
gen_named_node(xml, "dir", "dev", [&] () {
|
||||
xml.node("null", [&] () {});
|
||||
xml.node("zero", [&] () {});
|
||||
xml.node("rtc", [&] () {});
|
||||
xml.node("log", [&] () {});
|
||||
xml.node("null", [&] () {});
|
||||
gen_named_node(xml, "jitterentropy", "random");
|
||||
gen_named_node(xml, "jitterentropy", "urandom"); });
|
||||
gen_named_node(xml, "inline", "rtc", [&] () {
|
||||
xml.append("2018-01-01 00:01");
|
||||
});
|
||||
});
|
||||
|
||||
xml.node("libc", [&] () {
|
||||
|
Loading…
Reference in New Issue
Block a user