mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-03 04:26:45 +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
|
_/raw/drivers_managed-imx8q_evk
|
||||||
_/src/dummy_rtc_drv
|
|
||||||
_/src/event_filter
|
_/src/event_filter
|
||||||
_/src/imx8_fb_drv
|
_/src/imx8_fb_drv
|
||||||
_/src/imx8q_evk_drivers
|
_/src/imx8q_evk_drivers
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
_/pkg/drivers_managed-pc
|
_/pkg/drivers_managed-pc
|
||||||
_/pkg/sculpt
|
_/pkg/sculpt
|
||||||
_/pkg/wifi
|
_/pkg/wifi
|
||||||
_/src/rtc_drv
|
|
||||||
_/src/ipxe_nic_drv
|
_/src/ipxe_nic_drv
|
||||||
_/src/nvme_drv
|
_/src/nvme_drv
|
||||||
_/src/intel_gpu_drv
|
_/src/intel_gpu_drv
|
||||||
|
@ -31,9 +31,6 @@
|
|||||||
<service name="Platform">
|
<service name="Platform">
|
||||||
<default-policy> <child name="platform_drv"/> </default-policy> </service>
|
<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">
|
<start name="report_rom">
|
||||||
<resource name="RAM" quantum="2M"/>
|
<resource name="RAM" quantum="2M"/>
|
||||||
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
||||||
@ -350,14 +347,4 @@
|
|||||||
</route>
|
</route>
|
||||||
</start>
|
</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>
|
</config>
|
||||||
|
@ -32,9 +32,6 @@
|
|||||||
<service name="Platform">
|
<service name="Platform">
|
||||||
<default-policy> <child name="platform_drv"/> </default-policy> </service>
|
<default-policy> <child name="platform_drv"/> </default-policy> </service>
|
||||||
|
|
||||||
<service name="Rtc">
|
|
||||||
<default-policy> <child name="rtc_drv"/> </default-policy> </service>
|
|
||||||
|
|
||||||
<service name="Gpu">
|
<service name="Gpu">
|
||||||
<default-policy> <child name="dynamic"/> </default-policy> </service>
|
<default-policy> <child name="dynamic"/> </default-policy> </service>
|
||||||
|
|
||||||
@ -188,19 +185,6 @@
|
|||||||
</route>
|
</route>
|
||||||
</start>
|
</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 -->
|
<!-- toggle key mappings depending on the numlock state -->
|
||||||
<start name="numlock_remap_rom">
|
<start name="numlock_remap_rom">
|
||||||
<binary name="rom_filter"/>
|
<binary name="rom_filter"/>
|
||||||
|
@ -275,7 +275,6 @@ install_config {
|
|||||||
<service name="Block"/>
|
<service name="Block"/>
|
||||||
<service name="Usb"/>
|
<service name="Usb"/>
|
||||||
<service name="Platform"/>
|
<service name="Platform"/>
|
||||||
<service name="Rtc"/>
|
|
||||||
<service name="Gpu"/>
|
<service name="Gpu"/>
|
||||||
</provides>
|
</provides>
|
||||||
</start>
|
</start>
|
||||||
@ -470,7 +469,6 @@ install_config {
|
|||||||
<service name="Platform" label_prefix="acpica">
|
<service name="Platform" label_prefix="acpica">
|
||||||
<child name="drivers" label="acpica"/> </service>
|
<child name="drivers" label="acpica"/> </service>
|
||||||
<service name="Platform"> <child name="drivers"/> </service>
|
<service name="Platform"> <child name="drivers"/> </service>
|
||||||
<service name="Rtc"> <child name="drivers"/> </service>
|
|
||||||
<service name="Gui" label_prefix="leitzentrale">
|
<service name="Gui" label_prefix="leitzentrale">
|
||||||
<child name="leitzentrale"/> </service>
|
<child name="leitzentrale"/> </service>
|
||||||
<service name="Gui" label="backdrop">
|
<service name="Gui" label="backdrop">
|
||||||
|
@ -329,7 +329,7 @@ class Sculpt::Runtime_config
|
|||||||
_backdrop { _r, Type::GUI, "desktop background", "backdrop" },
|
_backdrop { _r, Type::GUI, "desktop background", "backdrop" },
|
||||||
_lockscreen{ _r, Type::GUI, "desktop lock screen", "lock_screen" },
|
_lockscreen{ _r, Type::GUI, "desktop lock screen", "lock_screen" },
|
||||||
_nitpicker { _r, Type::GUI, "system GUI server" },
|
_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" },
|
_lz_event { _r, Type::EVENT, "management GUI events", "leitzentrale" },
|
||||||
_event { _r, Type::EVENT, "system input events", "global" },
|
_event { _r, Type::EVENT, "system input events", "global" },
|
||||||
_lz_capture{ _r, Type::CAPTURE, "management GUI", "leitzentrale" },
|
_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_mem { _r, Type::IO_MEM, "raw hardware access" },
|
||||||
_io_port { _r, Type::IO_PORT, "raw hardware access" },
|
_io_port { _r, Type::IO_PORT, "raw hardware access" },
|
||||||
_irq { _r, Type::IRQ, "raw hardware access" },
|
_irq { _r, Type::IRQ, "raw hardware access" },
|
||||||
_rtc { _r, Type::RTC, "hardware clock" },
|
|
||||||
_block { _r, Type::BLOCK, "direct block-device access" },
|
_block { _r, Type::BLOCK, "direct block-device access" },
|
||||||
_usb { _r, Type::USB, "direct USB-device access" },
|
_usb { _r, Type::USB, "direct USB-device access" },
|
||||||
_pci_wifi { _r, Type::PLATFORM, "wifi hardware", "wifi" },
|
_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", [&] () {
|
gen_named_node(xml, "dir", "dev", [&] () {
|
||||||
xml.node("null", [&] () {});
|
xml.node("null", [&] () {});
|
||||||
xml.node("zero", [&] () {});
|
xml.node("zero", [&] () {});
|
||||||
xml.node("rtc", [&] () {});
|
|
||||||
xml.node("log", [&] () {});
|
xml.node("log", [&] () {});
|
||||||
xml.node("null", [&] () {});
|
xml.node("null", [&] () {});
|
||||||
gen_named_node(xml, "jitterentropy", "random");
|
gen_named_node(xml, "jitterentropy", "random");
|
||||||
gen_named_node(xml, "jitterentropy", "urandom"); });
|
gen_named_node(xml, "jitterentropy", "urandom"); });
|
||||||
|
gen_named_node(xml, "inline", "rtc", [&] () {
|
||||||
|
xml.append("2018-01-01 00:01");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
xml.node("libc", [&] () {
|
xml.node("libc", [&] () {
|
||||||
|
Loading…
Reference in New Issue
Block a user