run: use ram attribute in start nodes

Issue #5448
This commit is contained in:
Norman Feske 2025-02-07 18:15:46 +01:00 committed by Christian Helmuth
parent feb253c10f
commit 2719b37107
356 changed files with 1487 additions and 3153 deletions

View File

@ -14,9 +14,7 @@ install_config {
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-cap_integrity" caps="100" ld="no">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-cap_integrity" caps="100" ram="10M" ld="no"/>
</config>
}

View File

@ -20,14 +20,12 @@ install_config {
<default caps="100"/>
<start name="test-sync">
<resource name="RAM" quantum="10M"/>
<start name="test-sync" ram="10M">
<provides><service name="Sync"/></provides>
</start>
<start name="init_1" priority="-1" caps="1000">
<start name="init_1" priority="-1" caps="1000" ram="20M">
<binary name="init"/>
<resource name="RAM" quantum="20M"/>
<resource name="CPU" quantum="10"/>
<config>
<parent-provides>
@ -47,18 +45,16 @@ install_config {
</default-route>
<default caps="100"/>
<start name="test_slow">
<start name="test_slow" ram="10M">
<binary name="test-cpu_quota"/>
<resource name="RAM" quantum="10M"/>
<resource name="CPU" quantum="50"/>
</start>
</config>
</start>
<start name="init_2" priority="-2" caps="1000">
<start name="init_2" priority="-2" caps="1000" ram="30M">
<binary name="init"/>
<resource name="RAM" quantum="30M"/>
<resource name="CPU" quantum="80"/>
<config prio_levels="2">
<parent-provides>
@ -79,23 +75,20 @@ install_config {
<default caps="100"/>
<start name="test_midl" priority="0">
<start name="test_midl" priority="0" ram="10M">
<binary name="test-cpu_quota"/>
<resource name="RAM" quantum="10M"/>
<resource name="CPU" quantum="25"/>
</start>
<start name="test_fast" priority="-1">
<start name="test_fast" priority="-1" ram="10M">
<binary name="test-cpu_quota"/>
<resource name="RAM" quantum="10M"/>
<resource name="CPU" quantum="75"/>
</start>
</config>
</start>
<start name="timer" priority="0">
<resource name="RAM" quantum="10M"/>
<start name="timer" priority="0" ram="10M">
<resource name="CPU" quantum="10"/>
<provides><service name="Timer"/></provides>
</start>

View File

@ -14,9 +14,7 @@ install_config {
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-cpu_scheduler" caps="100">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-cpu_scheduler" caps="100" ram="10M"/>
</config>}
build_boot_image [build_artifacts]

View File

@ -32,13 +32,11 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="lx_fs" caps="200" ld="no">
<resource name="RAM" quantum="4M"/>
<start name="lx_fs" caps="200" ram="4M" ld="no">
<provides> <service name="File_system"/> </provides>
<config> <policy label_prefix="test-libc_vfs" root="/libc_vfs" writeable="yes" /> </config>
</start>
<start name="test-libc_vfs">
<resource name="RAM" quantum="4M"/>
<start name="test-libc_vfs" ram="4M">
<config>
<vfs>
<fs />

View File

@ -44,8 +44,7 @@ install_config {
</default-route>
<default caps="100"/>
<start name="lx_fs" caps="200" ld="no">
<resource name="RAM" quantum="4M"/>
<start name="lx_fs" caps="200" ram="4M" ld="no">
<provides> <service name="File_system"/> </provides>
<config>
<policy label_prefix="fs_rom_config" root="/lx_fs_notify" writeable="no"/>
@ -55,9 +54,8 @@ install_config {
</config>
</start>
<start name="fs_rom_config">
<start name="fs_rom_config" ram="8M">
<binary name="fs_rom"/>
<resource name="RAM" quantum="8M"/>
<provides> <service name="ROM"/> </provides>
<route>
<service name="File_system"> <child name="lx_fs"/> </service>
@ -65,9 +63,8 @@ install_config {
</route>
</start>
<start name="fs_rom_test">
<start name="fs_rom_test" ram="40M">
<binary name="fs_rom"/>
<resource name="RAM" quantum="40M"/>
<provides> <service name="ROM"/> </provides>
<route>
<service name="File_system"> <child name="lx_fs"/> </service>
@ -75,16 +72,14 @@ install_config {
</route>
</start>
<start name="test-rom_log">
<resource name="RAM" quantum="8M"/>
<start name="test-rom_log" ram="8M">
<route>
<service name="ROM" label="outfile.txt"> <child name="fs_rom_test"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="init" caps="4000">
<resource name="RAM" quantum="300M"/>
<start name="init" caps="4000" ram="300M">
<route>
<service name="File_system"> <child name="lx_fs"/> </service>
<service name="ROM" label="config"> <child name="fs_rom_config" label="init.config"/> </service>
@ -114,8 +109,7 @@ set init_run_fwrite_test {
</default-route>
<default caps="100"/>
<start name="test-file_writer" caps="300" version="1">
<resource name="RAM" quantum="16M"/>
<start name="test-file_writer" caps="300" ram="16M" version="1">
<config>
<libc stdout="/dev/log" stderr="/dev/log"/>
<vfs>
@ -151,8 +145,7 @@ set init_run_write_test {
</default-route>
<default caps="100"/>
<start name="test-file_writer" caps="300" version="2">
<resource name="RAM" quantum="16M"/>
<start name="test-file_writer" caps="300" ram="16M" version="2">
<config>
<libc stdout="/dev/log" stderr="/dev/log"/>
<vfs>

View File

@ -20,10 +20,8 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-lx_hybrid_ctors" ld="no">
<resource name="RAM" quantum="1M"/>
</start>
<default caps="100" ram="1M"/>
<start name="test-lx_hybrid_ctors" ld="no"/>
</config>
}

View File

@ -13,9 +13,7 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="test-lx_hybrid_errno" ld="no" caps="100">
<resource name="RAM" quantum="1M"/>
</start>
<start name="test-lx_hybrid_errno" ld="no" caps="100" ram="1M"/>
</config>
}

View File

@ -13,10 +13,8 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-lx_hybrid_exception" ld="no">
<resource name="RAM" quantum="1M"/>
</start>
<default caps="100" ram="1M"/>
<start name="test-lx_hybrid_exception" ld="no"/>
</config>
}

View File

@ -13,10 +13,8 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-lx_hybrid_pthread_ipc" ld="no">
<resource name="RAM" quantum="1M"/>
</start>
<default caps="100" ram="1M"/>
<start name="test-lx_hybrid_pthread_ipc" ld="no"/>
</config>
}

View File

@ -22,9 +22,7 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="} [test_program_name] {">
<resource name="RAM" quantum="8M"/>
</start>
<start name="} [test_program_name] {" ram="8M"/>
</config>}

View File

@ -14,19 +14,14 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-region_map_mmap">
<resource name="RAM" quantum="2M"/>
</start>
<default caps="100" ram="1M"/>
<start name="test-region_map_mmap" ram="2M"/>
<!-- add signal test for concurrency -->
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test-signal" caps="400">
<resource name="RAM" quantum="1M"/>
</start>
<start name="test-signal" caps="400"/>
</config>}
build_boot_image [build_artifacts]

View File

@ -24,8 +24,7 @@ set config {
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-nova" caps="12350" ld="no">
<resource name="RAM" quantum="128M"/>}
<start name="test-nova" caps="12350" ram="128M" ld="no">}
append config "
<config check_pat=\"$check_pat\"/\>"

View File

@ -17,8 +17,7 @@
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<start name="test-ds_ownership" caps="100">
<resource name="RAM" quantum="10M"/>
<start name="test-ds_ownership" caps="100" ram="10M">
<route><any-service><parent/></any-service></route>
<config verbose="yes">
<parent-provides>

View File

@ -19,8 +19,6 @@
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-entrypoint" caps="100">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-entrypoint" caps="100" ram="10M"/>
</config>
</runtime>

View File

@ -35,8 +35,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="50"/>
<start name="test-log">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-log" ram="10M"/>
</config>
</runtime>

View File

@ -23,9 +23,8 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test">
<start name="test" ram="10M">
<binary name="test-mmio"/>
<resource name="RAM" quantum="10M"/>
</start>
</config>
</runtime>

View File

@ -73,8 +73,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-new_delete">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-new_delete" ram="10M"/>
</config>
</runtime>

View File

@ -54,8 +54,6 @@
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-reconstructible">
<resource name="RAM" quantum="1M"/>
</start>
<start name="test-reconstructible" ram="1M"/>
</config>
</runtime>

View File

@ -20,8 +20,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="50"/>
<start name="test-registry">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-registry" ram="10M"/>
</config>
</runtime>

View File

@ -20,9 +20,6 @@
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-rm_fault" caps="110">
<resource name="RAM" quantum="10M"/>
<config executable_fault_test="true"/>
</start>
<start name="test-rm_fault" caps="110" ram="10M"/>
</config>
</runtime>

View File

@ -19,8 +19,7 @@
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-rm_fault" caps="110">
<resource name="RAM" quantum="10M"/>
<start name="test-rm_fault" caps="110" ram="10M">
<config executable_fault_test="false"/>
</start>
</config>

View File

@ -21,8 +21,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-rm_nested">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-rm_nested" ram="10M"/>
</config>
</runtime>

View File

@ -20,8 +20,6 @@
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-rm_stress" caps="110">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-rm_stress" caps="110" ram="10M"/>
</config>
</runtime>

View File

@ -19,8 +19,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-stack_smash">
<resource name="RAM" quantum="4M"/>
</start>
<start name="test-stack_smash" ram="4M"/>
</config>
</runtime>

View File

@ -27,8 +27,6 @@
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-synced_interface">
<resource name="RAM" quantum="1M"/>
</start>
<start name="test-synced_interface" ram="1M"/>
</config>
</runtime>

View File

@ -26,9 +26,8 @@
<default-route>
<any-service><parent/><any-child/></any-service>
</default-route>
<start name="client" caps="300">
<start name="client" caps="300" ram="10M">
<binary name="test-timer"/>
<resource name="RAM" quantum="10M"/>
</start>
</config>
</runtime>

View File

@ -26,8 +26,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="50"/>
<start name="test-tls">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-tls" ram="10M"/>
</config>
</runtime>

View File

@ -20,8 +20,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-token">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-token" ram="10M"/>
</config>
</runtime>

View File

@ -76,8 +76,7 @@
<any-service> <any-child/> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-xml_generator">
<resource name="RAM" quantum="2M"/>
<start name="test-xml_generator" ram="2M">
<config>
<libgcov>
<annotate source="include/util/xml_generator.h"/>

View File

@ -131,8 +131,6 @@
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-xml_node">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-xml_node" ram="10M"/>
</config>
</runtime>

View File

@ -13,10 +13,8 @@ install_config {
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<default caps="50"/>
<start name="test-log">
<resource name="RAM" quantum="10M"/>
</start>
<default caps="50" ram="10M"/>
<start name="test-log"/>
</config>
}

View File

@ -31,13 +31,11 @@ append config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides><service name="Timer"/></provides>
</start>
<start name="test-migrate" caps="100">
<resource name="RAM" quantum="10M"/>
<start name="test-migrate" caps="100" ram="10M">
<config />
<route>
<service name="TRACE"> <parent label=""/> </service>

View File

@ -26,9 +26,7 @@ install_config {
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-smp">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-smp" ram="10M"/>
</config>
}

View File

@ -19,8 +19,7 @@ append config {
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-sub_rm">
<resource name="RAM" quantum="10M"/>
<start name="test-sub_rm" ram="10M">
<config local_attach_addr="} [local_attach_addr] {"
attach_twice_forbidden="} [attach_twice_forbidden] {"
support_attach_sub_any="} [support_attach_sub_any] {"/>

View File

@ -35,8 +35,7 @@ append config {
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-thread" caps="2000">
<resource name="RAM" quantum="10M"/>
<start name="test-thread" caps="2000" ram="10M">
<resource name="CPU" quantum="100"/>
<config pause_resume="} [pause_resume_supported] {" prio="} [prio_supported] {"/>
</start>

View File

@ -18,14 +18,12 @@ install_config {
<any-service><parent/><any-child/></any-service>
</default-route>
<default caps="100"/>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<start name="timer" priority="0" ram="1M">
<resource name="CPU" quantum="5"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test" priority="-1">
<start name="test" priority="-1" ram="10M">
<binary name="test-timeout_smp"/>
<resource name="RAM" quantum="10M"/>
<config ld_verbose="yes" />
</start>
</config>

View File

@ -18,14 +18,11 @@ install_config {
<any-service><parent/><any-child/></any-service>
</default-route>
<default caps="100"/>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<start name="timer" priority="0" ram="1M">
<resource name="CPU" quantum="5"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test-timer_accuracy" priority="-1">
<resource name="RAM" quantum="10M"/>
</start>
<start name="test-timer_accuracy" priority="-1" ram="10M"/>
</config>
}

View File

@ -18,14 +18,12 @@ install_config {
<any-service><parent/><any-child/></any-service>
</default-route>
<default caps="100"/>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<start name="timer" priority="0" ram="1M">
<resource name="CPU" quantum="5"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test" priority="-1">
<start name="test" priority="-1" ram="10M">
<binary name="test-timer_rate"/>
<resource name="RAM" quantum="10M"/>
<config
max_abs_error_pc="5"
measure_duration_us="3000000"

View File

@ -22,8 +22,7 @@ library load information before starting the program.
Configuration snippet:
!<!-- bind immediately, no library informations -->
!<start name="dynamic_binary">
! <resource name="RAM" quantum="1M" />
!<start name="dynamic_binary" ram="1M">
! <config ld_bind_now="yes" ld_verbose="no">
! </config>
!</start>

View File

@ -47,8 +47,7 @@ or recording because it may provoke the generation of artefacts.
The following configures the driver of playback and recording:
! <start name="pci_audio">
! <resource name="RAM" quantum="8M"/>
! <start name="pci_audio" ram="8M">
! <provides>
! <service name="Audio_out"/>
! <service name="Audio_in"/>

View File

@ -46,8 +46,7 @@ proc record_play_start_nodes { } {
if {![use_record_play_sessions]} { return "" }
return {
<start name="mixer">
<resource name="RAM" quantum="2M"/>
<start name="mixer" ram="2M">
<resource name="CPU" quantum="20"/>
<binary name="record_play_mixer"/>
<provides> <service name="Record"/> <service name="Play"/> </provides>
@ -68,9 +67,7 @@ proc audio_in_out_start_nodes { } {
if {[use_record_play_sessions]} { return "" }
return {
<start name="test-audio_in">
<resource name="RAM" quantum="8M"/>
</start>
<start name="test-audio_in" ram="8M"/>
}
}
@ -89,14 +86,12 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="2M"/>
<start name="report_rom" ram="2M">
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config>
<policy label="pci_decode -> system" report="acpi -> acpi"/>
@ -104,16 +99,14 @@ install_config {
</config>
</start>
<start name="acpi" caps="350">
<resource name="RAM" quantum="4M"/>
<start name="acpi" caps="350" ram="4M">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="pci_decode" caps="350">
<resource name="RAM" quantum="2M"/>
<start name="pci_decode" caps="350" ram="2M">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="ROM" label="system"> <child name="report_rom"/> </service>
@ -122,7 +115,6 @@ install_config {
</start>
<start name="platform" caps="100" managing_system="yes">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Platform"/>
</provides>
@ -136,9 +128,8 @@ install_config {
</config>
</start>
<start name="audio">
<start name="audio" ram="2M">
<binary name="pci_audio"/>
<resource name="RAM" quantum="2M"/>
<provides>
<service name="Audio_out"/>
<service name="Audio_in"/>

View File

@ -52,8 +52,7 @@ proc record_play_start_nodes { } {
return "" }
return {
<start name="mixer" priority="-1">
<resource name="RAM" quantum="2M"/>
<start name="mixer" ram="2M" priority="-1">
<resource name="CPU" quantum="20"/>
<binary name="record_play_mixer"/>
<provides> <service name="Record"/> <service name="Play"/> </provides>
@ -67,8 +66,7 @@ proc record_play_start_nodes { } {
</config>
</start>
<start name="test-audio_play" priority="-2">
<resource name="RAM" quantum="40M"/>
<start name="test-audio_play" ram="40M" priority="-2">
<config sample_path="sample.f32">
<vfs> <rom name="sample.f32"/> </vfs>
</config>
@ -85,8 +83,7 @@ proc audio_in_out_start_nodes { } {
return "" }
return {
<start name="test-audio_out">
<resource name="RAM" quantum="4M"/>
<start name="test-audio_out" ram="4M">
<config>
<filename>sample.f32</filename>
</config>
@ -111,14 +108,12 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="2M"/>
<start name="report_rom" ram="2M">
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes">
<policy label="pci_decode -> system" report="acpi -> acpi"/>
@ -126,16 +121,14 @@ install_config {
</config>
</start>
<start name="acpi" caps="350" priority="-1">
<resource name="RAM" quantum="8M"/>
<start name="acpi" caps="350" ram="8M" priority="-1">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="pci_decode" caps="350" priority="-1">
<resource name="RAM" quantum="2M"/>
<start name="pci_decode" caps="350" ram="2M" priority="-1">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="ROM" label="system"> <child name="report_rom"/> </service>
@ -144,7 +137,6 @@ install_config {
</start>
<start name="platform" caps="100" managing_system="yes" priority="-1">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Platform"/>
</provides>
@ -158,9 +150,8 @@ install_config {
</config>
</start>
<start name="audio" caps="150" priority="-1">
<start name="audio" caps="150" ram="2M" priority="-1">
<binary name="pci_audio"/>
<resource name="RAM" quantum="2M"/>
<provides> <service name="Audio_out"/> <service name="Audio_in"/> </provides>
<config } [audio_driver_config_attr] {/>
</start>

View File

@ -16,9 +16,8 @@
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="wg_client" caps="100">
<start name="wg_client" caps="100" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<config private_key="0CtU34qsl97IGiYKSO4tMaF/SJvy04zzeQkhZEbZSk0="
listen_port="49001" use_rtc="yes">
<peer public_key="GrvyALPZ3PQ2AWM+ovxJqnxSqKpmTyqUui5jH+C8I0E="
@ -27,8 +26,7 @@
allowed_ip="10.10.10.0/24"/>
</config>
</start>
<start name="fetchurl" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="fetchurl" caps="200" ram="10M">
<config>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" socket="/socket"
pipe="/pipe"/>

View File

@ -29,20 +29,16 @@ append config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test-driver_time" priority="-1">
<resource name="RAM" quantum="2M"/>
</start>}
<start name="test-driver_time" ram="2M" priority="-1"/>}
append_if $use_top config {
<start name="top">
<resource name="RAM" quantum="2M"/>
<start name="top" ram="2M">
<config period_ms="40000"/>
<route>
<service name="TRACE"> <parent label=""/> </any-service>

View File

@ -25,14 +25,12 @@ append config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -54,8 +52,7 @@ append config {
</config>
</start>
<start name="test-lxip_server" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="test-lxip_server" caps="200" ram="10M">
<config ld_verbose="yes" ip_addr="10.0.2.3" netmask="255.255.255.0" gateway="10.0.2.1" nameserver="8.8.8.8"/>
<route>
<service name="Nic"> <child name="nic_router"/> </service>
@ -63,8 +60,7 @@ append config {
</route>
</start>
<start name="test-lxip_client" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="test-lxip_client" caps="200" ram="10M">
<config ld_verbose="yes" server_ip="10.0.2.3" server_port="80"/>
<route>
<service name="Nic"> <child name="nic_router"/> </service>

View File

@ -37,10 +37,9 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="report_rom" caps="200">
<resource name="RAM" quantum="4M"/>
<start name="report_rom" caps="200" ram="4M">
<provides>
<service name="ROM" />
<service name="Report" />
@ -53,12 +52,9 @@ install_config {
</config>
</start>
<start name="acpi" caps="250">
<resource name="RAM" quantum="4M"/>
</start>
<start name="acpi" caps="250" ram="4M"/>
<start name="pci_decode" caps="350">
<resource name="RAM" quantum="2M"/>
<start name="pci_decode" caps="350" ram="2M">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="ROM" label="system"> <child name="report_rom"/> </service>
@ -66,8 +62,7 @@ install_config {
</route>
</start>
<start name="platform" caps="100" managing_system="yes">
<resource name="RAM" quantum="2M"/>
<start name="platform" caps="100" ram="2M" managing_system="yes">
<provides> <service name="Platform"/> </provides>
<route>
<service name="ROM" label="devices"> <child name="report_rom"/> </service>
@ -80,28 +75,24 @@ install_config {
</start>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="pc_rtc" priority="-1">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Rtc"/>
</provides>
</start>
<start name="nic" priority="-1" caps="250">
<start name="nic" priority="-1" caps="250" ram="8M">
<binary name="pc_nic"/>
<resource name="RAM" quantum="8M"/>
<route>
<service name="Uplink"> <child name="router"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="wifi" caps="600" priority="-1">
<resource name="RAM" quantum="32M"/>
<start name="wifi" caps="600" ram="32M" priority="-1">
<config ld_verbose="no">
<vfs>
<dir name="dev"> <log/> <rtc/> <null/>
@ -126,9 +117,8 @@ install_config {
</route>
</start>
<start name="config_rom" priority="-2">
<start name="config_rom" ram="4M" priority="-2">
<binary name="dynamic_rom"/>
<resource name="RAM" quantum="4M"/>
<provides><service name="ROM"/></provides>
<config>
<rom name="wifi_config">
@ -142,9 +132,8 @@ install_config {
</config>
</start>
<start name="router" caps="200" priority="-2">
<start name="router" caps="200" ram="10M" priority="-2">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -157,7 +146,6 @@ install_config {
<start name="test" caps="200" priority="-2">
<binary name="test-nic_router_uplinks"/>
<resource name="RAM" quantum="1M"/>
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="ROM" label="ping_result"> <child name="report_rom"/> </service>
@ -165,8 +153,7 @@ install_config {
</route>
</start>
<start name="ping" priority="-2">
<resource name="RAM" quantum="8M"/>
<start name="ping" ram="8M" priority="-2">
<config dst_ip="1.1.1.1"
period_sec="1"
report="yes"

View File

@ -82,15 +82,13 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config>
<default-policy report="usb -> usb -> devices"/>
@ -100,9 +98,8 @@ install_config {
</route>
</start>
<start name="usb" caps="1500" managing_system="yes">
<start name="usb" caps="1500" ram="32M" managing_system="yes">
<binary name="init"/>
<resource name="RAM" quantum="32M"/>
<provides> <service name="Usb"/> </provides>
<route>
<service name="ROM" label="config">
@ -113,8 +110,7 @@ install_config {
</route>
</start>
<start name="usb_hid" caps="180">
<resource name="RAM" quantum="11M"/>
<start name="usb_hid" caps="180" ram="11M">
<config capslock_led="rom" numlock_led="rom" scrlock_led="rom"/>
<route>
<service name="ROM" label="capslock"> <child name="dynamic_rom"/> </service>
@ -128,8 +124,7 @@ install_config {
</route>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides> <service name="ROM"/> </provides>
<config verbose="no">
<rom name="numlock">
@ -179,7 +174,6 @@ install_config {
</start>
<start name="event_dump">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Event"/> </provides>
<config/>
</start>

View File

@ -40,24 +40,21 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no">
<default-policy report="usb -> usb -> devices"/>
</config>
</start>
<start name="usb" caps="1500" managing_system="yes">
<start name="usb" caps="1500" ram="32M" managing_system="yes">
<binary name="init"/>
<resource name="RAM" quantum="32M"/>
<provides> <service name="Usb"/> </provides>
<route>
<service name="ROM" label="config">
@ -68,8 +65,7 @@ install_config {
</route>
</start>
<start name="usb_hid" caps="180">
<resource name="RAM" quantum="11M"/>
<start name="usb_hid" caps="180" ram="11M">
<config capslock_led="rom" numlock_led="rom" scrlock_led="rom"/>
<route>
<service name="ROM" label="capslock"> <child name="dynamic_rom"/> </service>
@ -81,8 +77,7 @@ install_config {
</route>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides> <service name="ROM"/> </provides>
<config verbose="no">
<rom name="capslock">
@ -114,7 +109,6 @@ install_config {
</start>
<start name="event_dump">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Event"/> </provides>
<config/>
</start>

View File

@ -34,16 +34,14 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="200"/>
<default caps="200" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="usb" caps="1500" managing_system="yes">
<start name="usb" caps="1500" ram="32M" managing_system="yes">
<binary name="init"/>
<resource name="RAM" quantum="32M"/>
<provides> <service name="Usb"/> </provides>
<route>
<service name="ROM" label="config">
@ -53,8 +51,7 @@ install_config {
</route>
</start>
<start name="usb_net">
<resource name="RAM" quantum="20M"/>
<start name="usb_net" ram="20M">
<config mac="02:00:00:00:01:01" />
<route>
<service name="Uplink"><child name="nic_router"/></service>
@ -62,8 +59,7 @@ install_config {
</route>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -90,8 +86,7 @@ install_config {
</config>
</start>
<start name="test-lwip_httpsrv" caps="120">
<resource name="RAM" quantum="6M"/>
<start name="test-lwip_httpsrv" caps="120" ram="6M">
<config>
<vfs>
<dir name="dev"> <log/> </dir>

View File

@ -29,15 +29,13 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="ping_1">
<start name="ping_1" ram="8M">
<binary name="ping"/>
<resource name="RAM" quantum="8M"/>
<config interface="10.0.2.3/24"
gateway="10.0.2.1"
dst_ip="10.0.2.2"
@ -50,9 +48,8 @@ install_config {
</route>
</start>
<start name="ping_2">
<start name="ping_2" ram="8M">
<binary name="ping"/>
<resource name="RAM" quantum="8M"/>
<config interface="10.0.2.4/24"
gateway="10.0.2.1"
dst_ip="10.0.2.55"
@ -65,8 +62,7 @@ install_config {
</route>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -83,8 +79,7 @@ install_config {
</config>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/> </provides>
<config verbose="yes">
<rom name="socket_fs.config"><inline description="static">
@ -106,9 +101,8 @@ install_config {
</config>
</start>
<start name="socket_fs" caps="200">
<start name="socket_fs" caps="200" ram="32M">
<binary name="vfs"/>
<resource name="RAM" quantum="32M"/>
<provides> <service name="File_system"/> </provides>
<route>
<service name="ROM" label="config">

View File

@ -51,8 +51,7 @@ append config {
<service name="LOG"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -64,9 +63,8 @@ append config {
</route>
</start>
<start name="report" caps="100">
<start name="report" caps="100" ram="2M">
<binary name="report_rom"/>
<resource name="RAM" quantum="2M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no"/>
<route>
@ -79,8 +77,7 @@ append config {
append_if $linux config {
<start name="lx_fs" ld="no" caps="1000">
<resource name="RAM" quantum="4M"/>
<start name="lx_fs" ld="no" caps="1000" ram="4M">
<provides> <service name="File_system"/> </provides>
<config>
<policy label_prefix="fetchurl" root="/fetchurl_fs/" writeable="yes"/>
@ -96,8 +93,7 @@ append_if $linux config {
append config {
<start name="fetchurl" caps="300">
<resource name="RAM" quantum="50M"/>
<start name="fetchurl" caps="300" ram="50M">
<config verbose="no">
<report progress="yes"/>
<vfs>
@ -140,9 +136,8 @@ append config {
</route>
</start>
<start name="peer1_wireguard" caps="200">
<start name="peer1_wireguard" caps="200" ram="11M">
<binary name="wireguard"/>
<resource name="RAM" quantum="11M"/>
<config private_key="0CtU34qsl97IGiYKSO4tMaF/SJvy04zzeQkhZEbZSk0="
listen_port="49001">
@ -163,8 +158,7 @@ append config {
</route>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -216,9 +210,8 @@ append config {
</route>
</start>
<start name="peer2_wireguard" caps="200">
<start name="peer2_wireguard" caps="200" ram="11M">
<binary name="wireguard"/>
<resource name="RAM" quantum="11M"/>
<config private_key="8GRSQZMgG1uuvz4APIBqrDmiLj8L886r++hzixjjHFc="
listen_port="49002">
@ -237,8 +230,7 @@ append config {
</route>
</start>
<start name="lighttpd" caps="200">
<resource name="RAM" quantum="50M" />
<start name="lighttpd" caps="200" ram="50M">
<config>
<arg value="lighttpd" />
<arg value="-f" />

View File

@ -49,8 +49,7 @@ install_config {
<service name="LOG"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -60,8 +59,7 @@ install_config {
</route>
</start>
<start name="drivers" caps="1000" managing_system="yes">
<resource name="RAM" quantum="32M"/>
<start name="drivers" caps="1000" ram="32M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config">
@ -80,9 +78,8 @@ install_config {
</route>
</start>
<start name="outer_router" caps="200">
<start name="outer_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -114,9 +111,8 @@ install_config {
</route>
</start>
<start name="inner_router" caps="200">
<start name="inner_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -144,8 +140,7 @@ install_config {
</route>
</start>
<start name="wireguard" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="wireguard" caps="200" ram="10M">
<config private_key="8GRSQZMgG1uuvz4APIBqrDmiLj8L886r++hzixjjHFc="
listen_port="49002">
@ -164,8 +159,7 @@ install_config {
</route>
</start>
<start name="lighttpd" caps="200">
<resource name="RAM" quantum="1G" />
<start name="lighttpd" caps="200" ram="1G">
<config>
<arg value="lighttpd" />
<arg value="-f" />

View File

@ -26,8 +26,7 @@ install_config {
<service name="LOG"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -37,8 +36,7 @@ install_config {
</route>
</start>
<start name="drivers" caps="1000" managing_system="yes">
<resource name="RAM" quantum="32M"/>
<start name="drivers" caps="1000" ram="32M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config">
@ -57,9 +55,8 @@ install_config {
</route>
</start>
<start name="outer_router" caps="200">
<start name="outer_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -85,9 +82,8 @@ install_config {
</route>
</start>
<start name="inner_router" caps="200">
<start name="inner_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -111,8 +107,7 @@ install_config {
</route>
</start>
<start name="wireguard" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="wireguard" caps="200" ram="10M">
<config private_key="8GRSQZMgG1uuvz4APIBqrDmiLj8L886r++hzixjjHFc="
interface="10.0.3.2/24"
listen_port="49002">

View File

@ -26,8 +26,7 @@ install_config {
<service name="LOG"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -37,8 +36,7 @@ install_config {
</route>
</start>
<start name="drivers" caps="1000" managing_system="yes">
<resource name="RAM" quantum="32M"/>
<start name="drivers" caps="1000" ram="32M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config">
@ -57,9 +55,8 @@ install_config {
</route>
</start>
<start name="outer_router" caps="200">
<start name="outer_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -94,9 +91,8 @@ install_config {
</route>
</start>
<start name="inner_router" caps="200">
<start name="inner_router" caps="200" ram="10M">
<binary name="nic_router"/>
<resource name="RAM" quantum="10M"/>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -124,8 +120,7 @@ install_config {
</route>
</start>
<start name="wireguard" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="wireguard" caps="200" ram="10M">
<config private_key="8GRSQZMgG1uuvz4APIBqrDmiLj8L886r++hzixjjHFc="
listen_port="49002">
@ -146,8 +141,7 @@ install_config {
</route>
</start>
<start name="ping" caps="100">
<resource name="RAM" quantum="8M"/>
<start name="ping" caps="100" ram="8M">
<config dst_ip="10.0.9.1" period_sec="1" count="3"/>
<route>
<service name="Nic"> <child name="inner_router"/> </service>

View File

@ -106,8 +106,7 @@ append config {
<service name="LOG"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -117,8 +116,7 @@ append config {
</route>
</start>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" caps="100" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="peer_2_wg_config">
@ -173,9 +171,8 @@ append config {
</route>
</start>
<start name="report" caps="100">
<start name="report" caps="100" ram="1M">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<route>
<service name="ROM"> <parent/> </service>
@ -185,9 +182,8 @@ append config {
</route>
</start>
<start name="peer_1_ping" caps="100">
<start name="peer_1_ping" caps="100" ram="8M">
<binary name="ping"/>
<resource name="RAM" quantum="8M"/>
<config dst_ip="10.0.9.2" period_sec="1" count="1000"/>
<route>
<service name="Nic"> <child name="nic_router"/> </service>
@ -199,9 +195,8 @@ append config {
</route>
</start>
<start name="peer_4_ping" caps="100">
<start name="peer_4_ping" caps="100" ram="8M">
<binary name="ping"/>
<resource name="RAM" quantum="8M"/>
<config dst_ip="10.0.9.2" period_sec="1" count="1000"/>
<route>
<service name="Nic"> <child name="nic_router"/> </service>
@ -213,9 +208,8 @@ append config {
</route>
</start>
<start name="peer_3_fetchurl" caps="200">
<start name="peer_3_fetchurl" caps="200" ram="10M">
<binary name="fetchurl"/>
<resource name="RAM" quantum="10M"/>
<config progress_timeout="3000">
<report progress="yes"/>
<vfs>
@ -246,9 +240,8 @@ append config {
</route>
</start>
<start name="peer_1_wg" caps="200">
<start name="peer_1_wg" caps="200" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<route>
<service name="ROM" label="config">
<child label="peer_1_wg_config" name="dynamic_rom"/>
@ -264,9 +257,8 @@ append config {
</route>
</start>
<start name="peer_2_wg" caps="200">
<start name="peer_2_wg" caps="200" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<route>
<service name="ROM" label="config">
<child label="peer_2_wg_config" name="dynamic_rom"/>
@ -282,9 +274,8 @@ append config {
</route>
</start>
<start name="peer_3_wg" caps="200">
<start name="peer_3_wg" caps="200" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<config private_key="EA+4fJCOJM5/C90zCwsh4jTdKMnlQ2JOnW1bvkwdnEA="
listen_port="49003">
@ -305,9 +296,8 @@ append config {
</route>
</start>
<start name="peer_4_wg" caps="200">
<start name="peer_4_wg" caps="200" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<config private_key="2OhXWuHHho3fTVi+7LB/ggK0w4cDvFYFJMC3/Mx6Bls="
listen_port="49004">
@ -328,8 +318,7 @@ append config {
</route>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -431,9 +420,8 @@ append config {
</route>
</start>
<start name="peer_2_lighttpd" caps="200">
<start name="peer_2_lighttpd" caps="200" ram="50M">
<binary name="lighttpd"/>
<resource name="RAM" quantum="50M" />
<config>
<arg value="lighttpd" />
<arg value="-f" />

View File

@ -98,8 +98,7 @@ set server_init_config {
<service name="Timer"/>
</parent-provides>
<start name="nic_router" caps="100">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="100" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -131,9 +130,8 @@ set server_init_config {
- the wireguard server doesn't need a Rtc session, which is only
- used to initiate handshakes by the client.
-->
<start name="wg_server" caps="100">
<start name="wg_server" caps="100" ram="10M">
<binary name="wireguard"/>
<resource name="RAM" quantum="10M"/>
<config private_key="8GRSQZMgG1uuvz4APIBqrDmiLj8L886r++hzixjjHFc="
listen_port="49002" use_rtc="no">
<peer public_key="r1Gslnm82X8NaijsWzPoSFzDZGl2tTJoPa+EJL4gYQw="
@ -145,8 +143,7 @@ set server_init_config {
</route>
</start>
<start name="lighttpd" caps="200">
<resource name="RAM" quantum="50M" />
<start name="lighttpd" caps="200" ram="50M">
<config>
<arg value="lighttpd" />
<arg value="-f" />
@ -197,8 +194,7 @@ set client_init_config {
<service name="Timer"/>
</parent-provides>
<start name="nic_router" caps="100">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="100" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -226,8 +222,7 @@ set client_init_config {
</route>
</start>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="2M"/>
<start name="dynamic_rom" caps="100" ram="2M">
<provides>
<service name="ROM"/>
</provides>
@ -237,8 +232,7 @@ set client_init_config {
</route>
</start>
<start name="init" caps="700">
<resource name="RAM" quantum="25M"/>
<start name="init" caps="700" ram="25M">
<route>
<service name="Nic" label="fetchurl -> lwip"> <child name="nic_router"/> </service>
<service name="Nic"> <parent/> </service>
@ -262,8 +256,7 @@ append config {
<service name="Timer"/>
</parent-provides>
<start name="timer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="100" ram="1M">
<provides>
<service name="Timer"/>
</provides>
@ -272,9 +265,8 @@ append config {
</route>
</start>
<start name="rtc" caps="100" ld="} [rtc_use_ld] {">
<start name="rtc" caps="100" ram="1M" ld="} [rtc_use_ld] {">
<binary name="} [rtc_binary_name] {"/>
<resource name="RAM" quantum="1M" />
<provides>
<service name="Rtc"/>
</provides>
@ -283,8 +275,7 @@ append config {
</route>
</start>
<start name="nic_router" caps="100">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="100" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -312,9 +303,8 @@ append config {
</route>
</start>
<start name="server" caps="1000">
<start name="server" caps="1000" ram="112M">
<binary name="init"/>
<resource name="RAM" quantum="112M"/>
} $server_init_config {
<route>
<service name="Nic"> <child name="nic_router" label="server"/> </service>
@ -325,9 +315,8 @@ append config {
</route>
</start>
<start name="client" caps="1000">
<start name="client" caps="1000" ram="40M">
<binary name="init"/>
<resource name="RAM" quantum="40M"/>
} $client_init_config {
<route>
<service name="Nic"> <child name="nic_router" label="client"/> </service>

View File

@ -18,8 +18,7 @@ NIC configuration
Configuration snippet:
!<start name="usb_net">
! <resource name="RAM" quantum="10M"/>
!<start name="usb_net" ram="10M">
! <config mac="2e:60:90:0c:4e:01 configuration="2" />
! <route>
! <service name="Uplink"><child name="nic_router"/></service/>
@ -48,8 +47,7 @@ Huawai ME906s (P/V: 12d1:15c1) - "configuration=3" for 'usb_net'
Fibocom L830-EB-00 (P/V: 2cb7:0210) - automatically detected
!<start name="usb_nic">
! <resource name="RAM" quantum="10M"/>
!<start name="usb_nic" ram="10M">
! <provides>
! <service name="Terminal"/>
! </provides>

View File

@ -17,8 +17,7 @@ Configuration
This configuration snippet shows how to start the component on the PC
platform.
!<start name="wifi" caps="250">
! <resource name="RAM" quantum="32M"/>
!<start name="wifi" caps="250" ram="32M">
! <provides><service name="Nic"/></provides>
! <config>
! <libc stdout="/dev/log" stderr="/dev/null" rtc="/dev/rtc"/>
@ -45,8 +44,7 @@ platform.
On other platforms the wifi library will be different. So, the
following snippet illustrates the use of the driver on the PinePhone.
!<start name="wifi" caps="250">
! <resource name="RAM" quantum="32M"/>
!<start name="wifi" caps="250" ram="32M">
! <provides><service name="Nic"/></provides>
! <config>
! <libc stdout="/dev/log" stderr="/dev/null" rtc="/dev/rtc"/>

View File

@ -33,13 +33,11 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_block">
<resource name="RAM" quantum="11M"/>
<start name="vfs_block" ram="11M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -52,8 +50,7 @@ install_config {
writeable="yes"/>
</config>
</start>
<start name="vfs" caps="256">
<resource name="RAM" quantum="20M"/>
<start name="vfs" caps="256" ram="20M">
<provides><service name="File_system"/></provides>
<config>
<vfs> <rump fs="ext2fs" ram="8M"/> </vfs>
@ -61,8 +58,7 @@ install_config {
<policy label_prefix="fs_rom" root="/" writeable="no"/>
</config>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="dynamic_rom">
@ -85,8 +81,7 @@ install_config {
</rom>
</config>
</start>
<start name="rom_to_file">
<resource name="RAM" quantum="2M"/>
<start name="rom_to_file" ram="2M">
<config rom="dynamic_rom">
<vfs> <fs/> </vfs>
</config>
@ -97,8 +92,7 @@ install_config {
</route>
</start>
<start name="fs_rom">
<resource name="RAM" quantum="2M"/>
<start name="fs_rom" ram="2M">
<provides><service name="ROM"/></provides>
<route>
<service name="File_system" > <child name="vfs"/> </service>
@ -106,7 +100,6 @@ install_config {
</route>
</start>
<start name="rom_logger">
<resource name="RAM" quantum="1M"/>
<config rom="dynamic_rom"/>
<route>
<service name="ROM" label="dynamic_rom"> <child name="fs_rom"/> </service>

View File

@ -45,13 +45,11 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_block" caps="120">
<resource name="RAM" quantum="20M"/>
<start name="vfs_block" caps="120" ram="20M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -64,16 +62,14 @@ install_config {
writeable="yes"/>
</config>
</start>
<start name="vfs" caps="200">
<resource name="RAM" quantum="25M" />
<start name="vfs" caps="200" ram="25M">
<provides><service name="File_system"/></provides>
<config>
<vfs> <rump fs="ext2fs" ram="10M"/> </vfs>
<policy label_prefix="test-libc_vfs" root="/" writeable="yes"/>
</config>
</start>
<start name="test-libc_vfs">
<resource name="RAM" quantum="4M"/>
<start name="test-libc_vfs" ram="4M">
<config>
<vfs>
<dir name="dev"> <log/> </dir>

View File

@ -38,13 +38,11 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_block">
<resource name="RAM" quantum="30M"/>
<start name="vfs_block" ram="30M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -57,8 +55,7 @@ install_config {
writeable="yes"/>
</config>
</start>
<start name="vfs" caps="200">
<resource name="RAM" quantum="30M" />
<start name="vfs" caps="200" ram="30M">
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -67,8 +64,7 @@ install_config {
<default-policy root="/" writeable="yes"/>
</config>
</start>
<start name="test-libc_vfs">
<resource name="RAM" quantum="4M"/>
<start name="test-libc_vfs" ram="4M">
<config>
<libc stdout="/dev/log"/>
<vfs>

View File

@ -26,13 +26,11 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_block">
<resource name="RAM" quantum="2M"/>
<start name="vfs_block" ram="2M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -42,20 +40,17 @@ install_config {
writeable="no"/>
</config>
</start>
<start name="vfs" caps="200">
<resource name="RAM" quantum="20M" />
<start name="vfs" caps="200" ram="20M">
<provides><service name="File_system"/></provides>
<config>
<vfs> <rump fs="cd9660" ram="10M" writeable="no"/> </vfs>
<policy label_prefix="fs_rom" root="/" writeable="no"/>
</config>
</start>
<start name="fs_rom">
<resource name="RAM" quantum="2M"/>
<start name="fs_rom" ram="2M">
<provides><service name="ROM"/></provides>
</start>
<start name="test-iso">
<resource name="RAM" quantum="1M" />
<config/>
<route>
<service name="ROM" label_prefix=""><child name="fs_rom"/></service>

View File

@ -39,13 +39,11 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_block">
<resource name="RAM" quantum="20M"/>
<start name="vfs_block" ram="20M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -58,8 +56,7 @@ install_config {
writeable="yes"/>
</config>
</start>
<start name="vfs_stress" caps="200">
<resource name="RAM" quantum="32M"/>
<start name="vfs_stress" caps="200" ram="32M">
<config depth="8">
<vfs> <rump fs="ext2fs" ram="30M" writeable="yes"/> </vfs>
</config>

View File

@ -40,19 +40,16 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="vfs_stress">
<resource name="RAM" quantum="32M"/>
<start name="vfs_stress" ram="32M">
<config depth="32" threads="1">
<vfs> <fs/> </vfs>
</config>
</start>
<start name="vfs_block">
<resource name="RAM" quantum="34M"/>
<start name="vfs_block" ram="34M">
<provides><service name="Block"/></provides>
<config>
<vfs>
@ -65,8 +62,7 @@ install_config {
writeable="yes"/>
</config>
</start>
<start name="vfs" caps="200">
<resource name="RAM" quantum="24M"/>
<start name="vfs" caps="200" ram="24M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs> <rump fs="ext2fs" ram="20M"/> </vfs>

View File

@ -24,8 +24,7 @@
<default caps="100"/>
<start name="report_rom">
<resource name="RAM" quantum="4M"/>
<start name="report_rom" ram="4M">
<provides>
<service name="Report"/>
<service name="ROM"/>
@ -36,8 +35,7 @@
</config>
</start>
<start name="trace_subject_reporter">
<resource name="RAM" quantum="6M"/>
<start name="trace_subject_reporter" ram="6M">
<config period_ms="500">
<report activity="yes" affinity="yes"/>
</config>
@ -47,8 +45,7 @@
</route>
</start>
<start name="cpu_load_display">
<resource name="RAM" quantum="6M"/>
<start name="cpu_load_display" ram="6M">
<config/>
<route>
<service name="ROM" label="trace_subjects"> <child name="report_rom"/> </service>

View File

@ -52,9 +52,8 @@
<default caps="100"/>
<start name="depot_rw">
<start name="depot_rw" ram="2M">
<binary name="chroot"/>
<resource name="RAM" quantum="2M" />
<provides> <service name="File_system"/> </provides>
<config>
<default-policy path="/depot" writeable="yes"/>
@ -67,9 +66,8 @@
</route>
</start>
<start name="public_rw">
<start name="public_rw" ram="2M">
<binary name="chroot"/>
<resource name="RAM" quantum="2M" />
<provides> <service name="File_system"/> </provides>
<config>
<default-policy path="/public" writeable="yes"/>
@ -82,9 +80,8 @@
</route>
</start>
<start name="report_rom">
<start name="report_rom" ram="2M">
<binary name="report_rom"/>
<resource name="RAM" quantum="2M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no">
<policy label="depot_download -> installation"
@ -95,9 +92,8 @@
</route>
</start>
<start name="depot_download" caps="2000">
<start name="depot_download" caps="2000" ram="70M">
<binary name="init"/>
<resource name="RAM" quantum="70M"/>
<route>
<service name="ROM" label="config">
<parent label="depot_download.config"/>
@ -118,8 +114,7 @@
</route>
</start>
<start name="dbg_download">
<resource name="RAM" quantum="16M"/>
<start name="dbg_download" ram="16M">
<config>
<vfs>
<dir name="config">

View File

@ -67,8 +67,7 @@
</default-policy>
</service>
<start name="report_rom" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="100" ram="1M">
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config>
<policy label="gui -> ui_report" report="file_vault -> ui_report"/>
@ -82,8 +81,7 @@
</route>
</start>
<start name="file_vault" caps="1200">
<resource name="RAM" quantum="100M"/>
<start name="file_vault" caps="1200" ram="100M">
<provides>
<service name="File_system"/>
</provides>
@ -108,9 +106,8 @@
</route>
</start>
<start name="gui" caps="400">
<start name="gui" caps="400" ram="8M">
<binary name="file_vault_gui"/>
<resource name="RAM" quantum="8M"/>
<route>
<service name="ROM" label="ui_report"> <child name="report_rom"/> </service>
<service name="Report" label="ui_config"> <child name="report_rom"/> </service>

View File

@ -32,16 +32,14 @@
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="depot_query">
<resource name="RAM" quantum="2M"/>
<start name="depot_query" ram="2M">
<config arch="x86_64">
<!-- test queries -->

View File

@ -35,8 +35,7 @@
<service name="Timer"/>
</parent-provides>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" caps="100" ram="4M">
<provides><service name="ROM"/> </provides>
<config verbose="no">
<rom name="file_vault_ui_config">
@ -63,8 +62,7 @@
</route>
</start>
<start name="report_rom" caps="70">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="70" ram="1M">
<provides>
<service name="ROM"/>
<service name="Report"/>
@ -78,9 +76,8 @@
</route>
</start>
<start name="data_fs" caps="500">
<start name="data_fs" caps="500" ram="50M">
<binary name="vfs"/>
<resource name="RAM" quantum="50M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -98,9 +95,8 @@
</route>
</start>
<start name="trust_anchor_fs" caps="100">
<start name="trust_anchor_fs" caps="100" ram="5M">
<binary name="vfs"/>
<resource name="RAM" quantum="5M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -118,8 +114,7 @@
</route>
</start>
<start name="file_vault" caps="1500">
<resource name="RAM" quantum="180M"/>
<start name="file_vault" caps="1500" ram="180M">
<config>
<vfs>
<dir name="tresor">

View File

@ -35,8 +35,7 @@
<service name="Timer"/>
</parent-provides>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" caps="100" ram="4M">
<provides><service name="ROM"/> </provides>
<config verbose="no">
<rom name="file_vault_ui_config">
@ -63,8 +62,7 @@
</route>
</start>
<start name="report_rom" caps="70">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="70" ram="1M">
<provides>
<service name="ROM"/>
<service name="Report"/>
@ -78,9 +76,8 @@
</route>
</start>
<start name="data_fs" caps="500">
<start name="data_fs" caps="500" ram="50M">
<binary name="vfs"/>
<resource name="RAM" quantum="50M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -98,9 +95,8 @@
</route>
</start>
<start name="trust_anchor_fs" caps="100">
<start name="trust_anchor_fs" caps="100" ram="5M">
<binary name="vfs"/>
<resource name="RAM" quantum="5M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -118,8 +114,7 @@
</route>
</start>
<start name="file_vault" caps="1500">
<resource name="RAM" quantum="180M"/>
<start name="file_vault" caps="1500" ram="180M">
<config jitterentropy_available="no">
<vfs>
<dir name="tresor">

View File

@ -44,16 +44,14 @@
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="vfs">
<resource name="RAM" quantum="4M"/>
<start name="vfs" ram="4M">
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -70,12 +68,10 @@
</config>
</start>
<start name="test" caps="700">
<start name="test" caps="700" ram="16M">
<binary name="sequence"/>
<resource name="RAM" quantum="16M"/>
<config>
<start name="sleep" caps="100">
<resource name="RAM" quantum="4M"/>
<binary name="dummy"/>
<config>
<sleep ms="500"/>
@ -95,7 +91,6 @@
</start>
<start name="sleep" caps="100">
<resource name="RAM" quantum="4M"/>
<binary name="dummy"/>
<config>
<sleep ms="500"/>
@ -117,7 +112,6 @@
</start>
<start name="fs_query">
<resource name="RAM" quantum="1M"/>
<config>
<vfs> <dir name="fs"> <fs/> </dir> </vfs>
<query path="/fs/items" content="yes"/>
@ -126,7 +120,6 @@
</start>
<start name="sleep" caps="100">
<resource name="RAM" quantum="4M"/>
<binary name="dummy"/>
<config>
<log string="sleep forever..."/>

View File

@ -25,8 +25,7 @@
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="vfs">
<resource name="RAM" quantum="12M"/>
<start name="vfs" ram="12M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs>
@ -36,8 +35,7 @@
<default-policy root="/audit" writeable="yes"/>
</config>
</start>
<start name="test-libc_vfs">
<resource name="RAM" quantum="4M"/>
<start name="test-libc_vfs" ram="4M">
<config>
<iterations value="1"/>
<write-read size="1M" buffer_size="8K"/>

View File

@ -20,9 +20,8 @@
<service name="Event"/>
</parent-provides>
<start name="touch_keyboard" caps="300">
<start name="touch_keyboard" caps="300" ram="14M">
<binary name="touch_keyboard"/>
<resource name="RAM" quantum="14M"/>
<config min_width="720" min_height="480"
opaque="yes" background="#3e3e43"/>
<route>

View File

@ -27,10 +27,9 @@
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="fs_report">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> </provides>
<config> <vfs> <fs/> </vfs> </config>
<route>
@ -40,7 +39,6 @@
</start>
<start name="fs_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="ROM"/> </provides>
<config/>
<route>
@ -49,8 +47,7 @@
</route>
</start>
<start name="window_layouter" caps="120">
<resource name="RAM" quantum="6M"/>
<start name="window_layouter" caps="120" ram="6M">
<route>
<service name="ROM" label="config">
<parent label="window_layouter.config"/> </service>

View File

@ -17,9 +17,8 @@
<default caps="100"/>
<start name="report_rom">
<start name="report_rom" ram="2M">
<binary name="report_rom"/>
<resource name="RAM" quantum="2M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no">
<policy label="dynamic -> config"
@ -43,9 +42,8 @@
</config>
</start>
<start name="tcpip" caps="400">
<start name="tcpip" caps="400" ram="32M">
<binary name="vfs"/>
<resource name="RAM" quantum="32M" />
<provides> <service name="File_system"/> </provides>
<config>
<vfs>
@ -58,9 +56,8 @@
<route> <any-service> <parent/> </any-service> </route>
</start>
<start name="depot_ro">
<start name="depot_ro" ram="2M">
<binary name="chroot"/>
<resource name="RAM" quantum="2M" />
<provides> <service name="File_system"/> </provides>
<config> <default-policy path="/" writeable="no"/> </config>
<route>
@ -69,9 +66,8 @@
</route>
</start>
<start name="public_ro">
<start name="public_ro" ram="2M">
<binary name="chroot"/>
<resource name="RAM" quantum="2M" />
<provides> <service name="File_system"/> </provides>
<config> <default-policy path="/" writeable="no"/> </config>
<route>
@ -80,9 +76,8 @@
</route>
</start>
<start name="manager">
<start name="manager" ram="2M">
<binary name="depot_download_manager"/>
<resource name="RAM" quantum="2M"/>
<config/>
<route>
<service name="Report" label="state"> <parent label="state"/> </service>
@ -99,8 +94,7 @@
</route>
</start>
<start name="dynamic" caps="1000">
<resource name="RAM" quantum="24M"/>
<start name="dynamic" caps="1000" ram="24M">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <child name="report_rom"/> </service>

View File

@ -12,10 +12,9 @@
</parent-provides>
<default-route> <any-service> <parent/> </any-service> </default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="vfs">
<resource name="RAM" quantum="10M"/>
<start name="vfs" ram="10M">
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -45,8 +44,7 @@ cp /machine.vbox /disk0.vmdk /vm
</route>
</start>
<start name="vfs_rom">
<resource name="RAM" quantum="4M"/>
<start name="vfs_rom" ram="4M">
<binary name="cached_fs_rom"/>
<provides> <service name="ROM"/> </provides>
<config/>
@ -56,8 +54,7 @@ cp /machine.vbox /disk0.vmdk /vm
</route>
</start>
<start name="/bin/bash" caps="450">
<resource name="RAM" quantum="10M" />
<start name="/bin/bash" caps="450" ram="10M">
<exit propagate="yes"/>
<config>
<libc stdin="/dev/null" stdout="/dev/null" stderr="/dev/null"/>
@ -78,8 +75,7 @@ cp /machine.vbox /disk0.vmdk /vm
</route>
</start>
<start name="terminal">
<resource name="RAM" quantum="8M"/>
<start name="terminal" ram="8M">
<provides> <service name="Terminal"/> </provides>
<config>
<initial width="900" height="200"/>
@ -92,7 +88,6 @@ cp /machine.vbox /disk0.vmdk /vm
</start>
<start name="terminal_log">
<resource name="RAM" quantum="1M"/>
<provides> <service name="LOG"/> </provides>
<config/>
<route>
@ -103,7 +98,6 @@ cp /machine.vbox /disk0.vmdk /vm
<start name="report">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
<route>
@ -112,10 +106,9 @@ cp /machine.vbox /disk0.vmdk /vm
</route>
</start>
<start name="download" caps="300">
<start name="download" caps="300" ram="40M">
<exit propagate="yes"/>
<binary name="fetchurl"/>
<resource name="RAM" quantum="40M"/>
<config>
<report progress="yes"/>
<vfs>

View File

@ -13,13 +13,12 @@
<service name="Uplink"/>
</parent-provides>
<default caps="100"/>
<default caps="100" ram="1M"/>
<service name="Nic">
<default-policy> <child name="nic"/> </default-policy> </service>
<start name="acpi" caps="300">
<resource name="RAM" quantum="4M"/>
<start name="acpi" caps="300" ram="4M">
<route>
<service name="IO_MEM"> <parent/> </service>
<service name="LOG"> <parent/> </service>
@ -32,7 +31,6 @@
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="ROM" />
<service name="Report" />
@ -49,8 +47,7 @@
</route>
</start>
<start name="pci_decode">
<resource name="RAM" quantum="2M"/>
<start name="pci_decode" ram="2M">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<service name="ROM" label="system"> <child name="report_rom"/> </service>
@ -63,8 +60,7 @@
</route>
</start>
<start name="platform" caps="200" managing_system="yes">
<resource name="RAM" quantum="3M"/>
<start name="platform" caps="200" ram="3M" managing_system="yes">
<provides>
<service name="Platform"/>
<service name="Acpi"/>
@ -87,7 +83,6 @@
<start name="mac_report_rom">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides>
<service name="ROM" />
<service name="Report" />
@ -103,9 +98,8 @@
</route>
</start>
<start name="nic" caps="250">
<start name="nic" caps="250" ram="10M">
<binary name="pc_nic"/>
<resource name="RAM" quantum="10M"/>
<route>
<service name="Platform"> <child name="platform"/> </service>
<service name="ROM"> <parent/> </service>

View File

@ -8,8 +8,7 @@
<service name="Timer"/>
<service name="Report"/>
</parent-provides>
<start name="decorator" caps="100">
<resource name="RAM" quantum="20M"/>
<start name="decorator" caps="100" ram="20M">
<config>
<controls> <maximizer/> <title/> </controls>
<default-policy/>

View File

@ -27,8 +27,7 @@
<default-policy> <child name="wm"/> </default-policy>
</service>
<start name="report_rom">
<resource name="RAM" quantum="4M"/>
<start name="report_rom" ram="4M">
<provides>
<service name="Report"/>
<service name="ROM"/>
@ -46,8 +45,7 @@
</config>
</start>
<start name="wm" caps="100">
<resource name="RAM" quantum="2M"/>
<start name="wm" caps="100" ram="2M">
<provides>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>
@ -70,9 +68,8 @@
</route>
</start>
<start name="layouter" caps="120">
<start name="layouter" caps="120" ram="4M">
<binary name="window_layouter"/>
<resource name="RAM" quantum="4M"/>
<route>
<service name="ROM" label="config"> <parent label="layouter.config"/> </service>
<service name="ROM" label="window_list"> <child name="report_rom"/> </service>
@ -87,9 +84,8 @@
</route>
</start>
<start name="decorator" caps="450">
<start name="decorator" caps="450" ram="20M">
<binary name="init"/>
<resource name="RAM" quantum="20M"/>
<route>
<service name="ROM" label="config">
<parent label="decorator_init.config"/> </service>

View File

@ -8,9 +8,8 @@
<service name="Timer"/>
<service name="Report"/>
</parent-provides>
<start name="decorator" caps="320">
<start name="decorator" caps="320" ram="11M">
<binary name="themed_decorator"/>
<resource name="RAM" quantum="11M"/>
<config>
<libc/>
<vfs> <tar name="plain_decorator_theme.tar"/> </vfs>

View File

@ -55,8 +55,7 @@
<policy label_suffix=" -> clipboard"> <child name="wm"/> </policy>
</service>
<start name="report_rom">
<resource name="RAM" quantum="4M"/>
<start name="report_rom" ram="4M">
<provides>
<service name="Report"/>
<service name="ROM"/>
@ -74,8 +73,7 @@
</config>
</start>
<start name="wm" caps="150">
<resource name="RAM" quantum="2M"/>
<start name="wm" caps="150" ram="2M">
<provides>
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
</provides>

View File

@ -22,7 +22,7 @@ append config {
</parent-provides>
<default-route> <any-service> <parent/> </any-service> </default-route>
<default caps="100"/>
<start name="test-aes_cbc_4k">
<start name="test-aes_cbc_4k" ram="3M">
<config block_number="} $block_number {" test_rounds="} $test_rounds {">
<libc stdout="/dev/log" stderr="/dev/log"/>
@ -33,7 +33,6 @@ append config {
</vfs>
</config>
<resource name="RAM" quantum="3M"/>
</start>
</config>}

View File

@ -25,15 +25,13 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -45,7 +43,6 @@ install_config {
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -61,15 +58,13 @@ install_config {
</start>
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Gui"> <child name="nitpicker"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="report_rom">
<resource name="RAM" quantum="4M"/>
<start name="report_rom" ram="4M">
<provides>
<service name="Report"/>
<service name="ROM"/>
@ -80,8 +75,7 @@ install_config {
</config>
</start>
<start name="trace_subject_reporter" >
<resource name="RAM" quantum="6M"/>
<start name="trace_subject_reporter" ram="6M">
<config period_ms="500">
<report activity="yes" affinity="yes"/>
</config>
@ -92,16 +86,14 @@ install_config {
</route>
</start>
<start name="cpu_load_display">
<resource name="RAM" quantum="6M"/>
<start name="cpu_load_display" ram="6M">
<route>
<service name="ROM" label="trace_subjects"> <child name="report_rom"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="cpu_burner1.config">
@ -129,7 +121,6 @@ install_config {
<start name="cpu_burner.1">
<binary name="cpu_burner"/>
<resource name="RAM" quantum="1M"/>
<route>
<service name="ROM" label="config">
<child name="dynamic_rom" label="cpu_burner1.config"/> </service>
@ -139,7 +130,6 @@ install_config {
<start name="cpu_burner.2">
<binary name="cpu_burner"/>
<resource name="RAM" quantum="1M"/>
<route>
<service name="ROM" label="config">
<child name="dynamic_rom" label="cpu_burner2.config"/> </service>

View File

@ -34,15 +34,13 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Timer"/>
</provides>
</start>
<start name="cpu_sampler">
<resource name="RAM" quantum="4M"/>
<start name="cpu_sampler" ram="4M">
<provides>
<service name="CPU"/>
</provides>
@ -51,7 +49,6 @@ install_config {
</config>
</start>
<start name="test-cpu_sampler">
<resource name="RAM" quantum="1M"/>
<config ld_verbose="yes"/>
<route>
<service name="CPU"> <child name="cpu_sampler"/> </service>

View File

@ -27,15 +27,13 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -46,8 +44,7 @@ install_config {
</route>
</start>
<start name="report_rom">
<resource name="RAM" quantum="2M"/>
<start name="report_rom" ram="2M">
<provides> <service name="ROM" />
<service name="Report" /> </provides>
<config>
@ -56,7 +53,6 @@ install_config {
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -68,8 +64,7 @@ install_config {
</config>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="window_layout">
@ -173,8 +168,7 @@ install_config {
</config>
</start>
<start name="decorator">
<resource name="RAM" quantum="8M"/>
<start name="decorator" ram="8M">
<route>
<service name="ROM" label="pointer">
<child name="report_rom" />

View File

@ -29,15 +29,13 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -49,7 +47,6 @@ install_config {
</start>
<start name="nitpicker" caps="200">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -65,8 +62,7 @@ install_config {
</route>
</start>
<start name="report_rom">
<resource name="RAM" quantum="2M"/>
<start name="report_rom" ram="2M">
<provides> <service name="ROM" />
<service name="Report" /> </provides>
<config>
@ -77,16 +73,14 @@ install_config {
</config>
</start>
<start name="test-decorator_stress">
<resource name="RAM" quantum="2M"/>
<start name="test-decorator_stress" ram="2M">
<route>
<service name="Report"> <child name="report_rom"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="decorator" caps="200">
<resource name="RAM" quantum="8M"/>
<start name="decorator" caps="200" ram="8M">
<config>
<default-policy/>
</config>

View File

@ -312,16 +312,14 @@ proc prepare_to_run_genode { } {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer" priority="0">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="report_rom" priority="-1">
<start name="report_rom" priority="-1" ram="2M">
<binary name="report_rom"/>
<resource name="RAM" quantum="2M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no">
<policy label="depot_autopilot -> blueprint" report="depot_query -> blueprint"/>
@ -330,8 +328,7 @@ proc prepare_to_run_genode { } {
</config>
</start>
<start name="vfs" priority="-1">
<resource name="RAM" quantum="16M"/>
<start name="vfs" priority="-1" ram="16M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs>
@ -345,13 +342,11 @@ proc prepare_to_run_genode { } {
</config>
</start>
<start name="fs_rom" priority="-1" caps="300">
<resource name="RAM" quantum="32M"/>
<start name="fs_rom" priority="-1" caps="300" ram="32M">
<provides> <service name="ROM"/> </provides>
</start>
<start name="depot_query" priority="-1">
<resource name="RAM" quantum="2M"/>
<start name="depot_query" priority="-1" ram="2M">
<config query="rom">
<vfs> <dir name="depot"> <fs label="depot"/> </dir> </vfs>
</config>
@ -361,8 +356,7 @@ proc prepare_to_run_genode { } {
</route>
</start>
<start name="depot_autopilot" priority="-1">
<resource name="RAM" quantum="8M"/>
<start name="depot_autopilot" priority="-1" ram="8M">
<provides> <service name="LOG"/> </provides>
<config repeat="} $test_repeat {" arch="} [depot_spec] {" children_label_prefix="dynamic -> ">
<static>
@ -414,8 +408,7 @@ proc prepare_to_run_genode { } {
</route>
</start>
<start name="dynamic" caps="8000" priority="-1">
<resource name="RAM" quantum="286M"/>
<start name="dynamic" caps="8000" ram="286M" priority="-1">
<binary name="init"/>
<route>

View File

@ -41,15 +41,13 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -60,8 +58,7 @@ install_config {
</route>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<start name="nitpicker" ram="4M">
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -77,7 +74,6 @@ install_config {
</start>
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
@ -86,7 +82,6 @@ install_config {
<start name="report_rom">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="no">
<policy label="depot_deploy -> blueprint" report="depot_query -> blueprint"/>
@ -96,8 +91,7 @@ install_config {
</config>
</start>
<start name="vfs">
<resource name="RAM" quantum="4M"/>
<start name="vfs" ram="4M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs> <tar name="depot.tar"/> </vfs>
@ -106,8 +100,7 @@ install_config {
</config>
</start>
<start name="fs_rom">
<resource name="RAM" quantum="50M"/>
<start name="fs_rom" ram="50M">
<provides> <service name="ROM"/> </provides>
<route>
<service name="File_system"> <child name="vfs"/> </service>
@ -115,8 +108,7 @@ install_config {
</route>
</start>
<start name="depot_query">
<resource name="RAM" quantum="2M"/>
<start name="depot_query" ram="2M">
<config query="rom">
<vfs> <dir name="depot"> <fs label="depot"/> </dir> </vfs>
</config>
@ -127,8 +119,7 @@ install_config {
</route>
</start>
<start name="ram_fs">
<resource name="RAM" quantum="8M"/>
<start name="ram_fs" ram="8M">
<binary name="vfs"/>
<provides> <service name="File_system"/> </provides>
<config>
@ -138,7 +129,6 @@ install_config {
</start>
<start name="depot_deploy">
<resource name="RAM" quantum="1M"/>
<config arch="} [depot_spec] {">
<static>
<parent-provides>
@ -248,8 +238,7 @@ install_config {
</route>
</start>
<start name="dynamic" caps="8000">
<resource name="RAM" quantum="180M"/>
<start name="dynamic" caps="8000" ram="180M">
<binary name="init"/>
<route>
<service name="ROM" label_last="ld.lib.so"> <parent/> </service>

View File

@ -48,7 +48,7 @@ set config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>}
<default caps="100" ram="1M"/>}
proc depot_user_download { user } {
return [exec cat [select_from_repositories sculpt/depot/$user/download]] }
@ -58,12 +58,10 @@ proc depot_user_pubkey { user } {
append config {
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="drivers" caps="1200" managing_system="yes">
<resource name="RAM" quantum="32M"/>
<start name="drivers" caps="1200" ram="32M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -73,8 +71,7 @@ append config {
</route>
</start>
<start name="nic_router" caps="200">
<resource name="RAM" quantum="10M"/>
<start name="nic_router" caps="200" ram="10M">
<provides>
<service name="Nic"/>
<service name="Uplink"/>
@ -106,8 +103,7 @@ append config {
</config>
</start>
<start name="vfs">
<resource name="RAM" quantum="20M"/>
<start name="vfs" ram="20M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs>
@ -126,15 +122,13 @@ append config {
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes">
</config>
</start>
<start name="depot_download" caps="2000">
<start name="depot_download" caps="2000" ram="70M">
<binary name="init"/>
<resource name="RAM" quantum="70M"/>
<route>
<service name="ROM" label="config">
<parent label="depot_download.config"/> </service>

View File

@ -30,16 +30,14 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="report_rom">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes">
<policy label="depot_deploy -> blueprint" report="depot_query -> blueprint"/>
@ -48,8 +46,7 @@ install_config {
</config>
</start>
<start name="vfs">
<resource name="RAM" quantum="4M"/>
<start name="vfs" ram="4M">
<provides> <service name="File_system"/> </provides>
<config>
<vfs>
@ -76,13 +73,11 @@ install_config {
</config>
</start>
<start name="fs_rom">
<resource name="RAM" quantum="4M"/>
<start name="fs_rom" ram="4M">
<provides> <service name="ROM"/> </provides>
</start>
<start name="depot_query">
<resource name="RAM" quantum="2M"/>
<start name="depot_query" ram="2M">
<config query="rom">
<vfs> <dir name="depot"> <fs label="depot"/> </dir> </vfs>
</config>
@ -93,7 +88,6 @@ install_config {
</start>
<start name="depot_deploy">
<resource name="RAM" quantum="1M"/>
<config arch="} [depot_spec] {">
<static>
<parent-provides>
@ -121,8 +115,7 @@ install_config {
</route>
</start>
<start name="dynamic" caps="8000">
<resource name="RAM" quantum="64M"/>
<start name="dynamic" caps="8000" ram="64M">
<binary name="init"/>
<route>
<service name="ROM" label_last="ld.lib.so"> <parent/> </service>

View File

@ -42,29 +42,25 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="100M"/>
<start name="report_rom" ram="100M">
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="lx_fs" ld="no">
<resource name="RAM" quantum="100M"/>
<start name="lx_fs" ld="no" ram="100M">
<provides> <service name="File_system"/> </provides>
<config>
<policy label="depot_remove -> " root="/depot" writeable="yes"/>
</config>
</start>
<start name="depot_remove">
<resource name="RAM" quantum="2M"/>
<start name="depot_remove" ram="2M">
<route>
<service name="ROM" label="config"> <parent label="depot_remove_config"/> </service>
<service name="File_system"> <child name="lx_fs"/> </service>

View File

@ -25,19 +25,17 @@ install_config {
<service name="IO_PORT"/>
</parent-provides>
<default caps="100"/>
<default caps="100" ram="1M"/>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -49,7 +47,6 @@ install_config {
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes">
<policy label="text_area.1 -> hover" report="nitpicker -> hover"/>
@ -57,8 +54,7 @@ install_config {
</config>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<start name="nitpicker" ram="4M">
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -77,15 +73,13 @@ install_config {
</start>
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="fonts_fs" caps="300">
<resource name="RAM" quantum="8M"/>
<start name="fonts_fs" caps="300" ram="8M">
<binary name="vfs"/>
<route>
<service name="ROM" label="config"> <parent label="fonts_fs.config"/> </service>
@ -94,8 +88,7 @@ install_config {
<provides> <service name="File_system"/> </provides>
</start>
<start name="test-dialog" caps="1000">
<resource name="RAM" quantum="8M"/>
<start name="test-dialog" caps="1000" ram="8M">
<config/>
<route>
<service name="ROM" label="hover"> <child name="report_rom"/> </service>

View File

@ -55,8 +55,7 @@ append config {
<service name="IO_PORT"/>
</parent-provides>
<start name="timer" caps="200">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="200" ram="1M">
<resource name="CPU" quantum="5"/>
<provides> <service name="Timer"/> </provides>
<route>
@ -69,8 +68,7 @@ append config {
</route>
</start>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" caps="100" ram="4M">
<provides><service name="ROM"/> </provides>
<config verbose="yes">
<rom name="file_vault_ui_config">
@ -97,8 +95,7 @@ append config {
</route>
</start>
<start name="report_rom" caps="70">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="70" ram="1M">
<provides>
<service name="ROM" />
<service name="Report" />
@ -114,9 +111,8 @@ append config {
append_if [have_board linux] config {
<start name="data_fs" caps="200" ld="no">
<start name="data_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -132,9 +128,8 @@ append_if [have_board linux] config {
</route>
</start>
<start name="trust_anchor_fs" caps="200" ld="no">
<start name="trust_anchor_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -152,9 +147,8 @@ append_if [have_board linux] config {
append_if [expr ![have_board linux]] config {
<start name="data_fs" caps="2000">
<start name="data_fs" caps="2000" ram="200M">
<binary name="vfs"/>
<resource name="RAM" quantum="200M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -172,9 +166,8 @@ append_if [expr ![have_board linux]] config {
</route>
</start>
<start name="trust_anchor_fs" caps="100">
<start name="trust_anchor_fs" caps="100" ram="5M">
<binary name="vfs"/>
<resource name="RAM" quantum="5M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -194,8 +187,7 @@ append_if [expr ![have_board linux]] config {
append config {
<start name="file_vault" caps="1000">
<resource name="RAM" quantum="80M"/>
<start name="file_vault" caps="1000" ram="80M">
<config jitterentropy_available="} [jent_avail_attr] {">
<vfs>
<dir name="tresor">

View File

@ -93,8 +93,7 @@ append config {
<service name="IO_PORT"/>
</parent-provides>
<start name="timer" caps="200">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="200" ram="1M">
<provides> <service name="Timer"/> </provides>
<route>
<service name="PD"> <parent/> </service>
@ -107,8 +106,7 @@ append config {
</route>
</start>
<start name="dynamic_rom" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" caps="100" ram="4M">
<provides><service name="ROM"/> </provides>
<config verbose="yes">
<rom name="file_vault_ui_config">
@ -148,8 +146,7 @@ append config {
<service name="File_system"/>
</parent-provides>
<start name="log_terminal" caps="110">
<resource name="RAM" quantum="2M"/>
<start name="log_terminal" caps="110" ram="2M">
<provides><service name="Terminal"/></provides>
<route>
<service name="LOG"> <parent/> </service>
@ -159,8 +156,7 @@ append config {
</route>
</start>
<start name="vfs" caps="120">
<resource name="RAM" quantum="30M"/>
<start name="vfs" caps="120" ram="30M">
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -189,8 +185,7 @@ append config {
</route>
</start>
<start name="fs_rom" caps="100">
<resource name="RAM" quantum="8M"/>
<start name="fs_rom" caps="100" ram="8M">
<provides> <service name="ROM"/> </provides>
<config/>
<route>
@ -202,8 +197,7 @@ append config {
</route>
</start>
<start name="bash" caps="500">
<resource name="RAM" quantum="32M"/>
<start name="bash" caps="500" ram="32M">
<binary name="/bin/bash"/>
<config>
<libc stdin="/dev/terminal" stdout="/dev/terminal"
@ -251,8 +245,7 @@ append config {
</route>
</start>
<start name="report_rom" caps="70">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="70" ram="1M">
<provides>
<service name="ROM" />
<service name="Report" />
@ -270,9 +263,8 @@ if {[have_board linux]} {
append config {
<start name="data_fs" caps="200" ld="no">
<start name="data_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -290,9 +282,8 @@ if {[have_board linux]} {
</route>
</start>
<start name="trust_anchor_fs" caps="200" ld="no">
<start name="trust_anchor_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -315,9 +306,8 @@ if {[have_board linux]} {
append config {
<start name="data_fs" caps="100">
<start name="data_fs" caps="100" ram="10M">
<binary name="vfs"/>
<resource name="RAM" quantum="10M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -335,9 +325,8 @@ if {[have_board linux]} {
</route>
</start>
<start name="trust_anchor_fs" caps="100">
<start name="trust_anchor_fs" caps="100" ram="4M">
<binary name="vfs"/>
<resource name="RAM" quantum="4M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -358,8 +347,7 @@ if {[have_board linux]} {
}
append config {
<start name="file_vault" caps="1000">
<resource name="RAM" quantum="80M"/>
<start name="file_vault" caps="1000" ram="80M">
<provides>
<service name="File_system"/>
</provides>
@ -389,8 +377,7 @@ append config {
</route>
</start>
<start name="dynamic_init" caps="1000">
<resource name="RAM" quantum="100M"/>
<start name="dynamic_init" caps="1000" ram="100M">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <child label="dynamic_init_config" name="dynamic_rom"/> </service>

View File

@ -57,8 +57,7 @@ append config {
<service name="IO_PORT"/>
</parent-provides>
<start name="timer" caps="200">
<resource name="RAM" quantum="1M"/>
<start name="timer" caps="200" ram="1M">
<resource name="CPU" quantum="5"/>
<provides> <service name="Timer"/> </provides>
<route>
@ -71,8 +70,7 @@ append config {
</route>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="Timer"> <child name="timer"/> </service>
@ -90,8 +88,7 @@ append config {
</route>
</start>
<start name="nitpicker" caps="100">
<resource name="RAM" quantum="4M"/>
<start name="nitpicker" caps="100" ram="4M">
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -114,8 +111,7 @@ append config {
</route>
</start>
<start name="pointer" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="pointer" caps="100" ram="1M">
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<service name="PD"> <parent/> </service>
@ -125,9 +121,8 @@ append config {
</route>
</start>
<start name="fonts_fs" caps="150">
<start name="fonts_fs" caps="150" ram="4M">
<binary name="vfs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -164,9 +159,8 @@ append config {
append_if [have_board linux] config {
<start name="data_fs" caps="200" ld="no">
<start name="data_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -182,9 +176,8 @@ append_if [have_board linux] config {
</route>
</start>
<start name="trust_anchor_fs" caps="200" ld="no">
<start name="trust_anchor_fs" caps="200" ram="4M" ld="no">
<binary name="lx_fs"/>
<resource name="RAM" quantum="4M"/>
<provides>
<service name="File_system"/>
</provides>
@ -202,9 +195,8 @@ append_if [have_board linux] config {
append_if [expr ![have_board linux]] config {
<start name="data_fs" caps="2000">
<start name="data_fs" caps="2000" ram="200M">
<binary name="vfs"/>
<resource name="RAM" quantum="200M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs> <dir name="data"> <ram/> </dir> </vfs>
@ -218,9 +210,8 @@ append_if [expr ![have_board linux]] config {
</route>
</start>
<start name="trust_anchor_fs" caps="100">
<start name="trust_anchor_fs" caps="100" ram="5M">
<binary name="vfs"/>
<resource name="RAM" quantum="5M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs> <dir name="trust_anchor"> <ram/> </dir> </vfs>
@ -236,8 +227,7 @@ append_if [expr ![have_board linux]] config {
append config {
<start name="report_rom" caps="100">
<resource name="RAM" quantum="1M"/>
<start name="report_rom" caps="100" ram="1M">
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes">
<policy label="file_vault_gui -> ui_report" report="file_vault -> ui_report"/>
@ -251,8 +241,7 @@ append config {
</route>
</start>
<start name="file_vault" caps="1200">
<resource name="RAM" quantum="100M"/>
<start name="file_vault" caps="1200" ram="100M">
<config jitterentropy_available="} [jent_avail_attr] {">
<vfs> <dir name="tresor"> <fs label="tresor"/> </dir> </vfs>
</config>
@ -274,8 +263,7 @@ append config {
</route>
</start>
<start name="file_vault_gui" caps="400">
<resource name="RAM" quantum="8M"/>
<start name="file_vault_gui" caps="400" ram="8M">
<route>
<service name="File_system" label_last="fonts"> <child name="fonts_fs"/> </service>
<service name="Gui"> <child name="nitpicker"/> </service>

View File

@ -32,28 +32,24 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="report_rom_empty_vfs">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="vfs">
<resource name="RAM" quantum="10M"/>
<start name="vfs" ram="10M">
<provides><service name="File_system"/></provides>
<config>
<vfs>
@ -73,8 +69,7 @@ install_config {
</config>
</start>
<start name="vfs_rom">
<resource name="RAM" quantum="10M"/>
<start name="vfs_rom" ram="10M">
<binary name="fs_rom"/>
<provides> <service name="ROM"/> </provides>
<config/>
@ -84,9 +79,8 @@ install_config {
</route>
</start>
<start name="fs_query_empty_vfs" caps="120">
<start name="fs_query_empty_vfs" caps="120" ram="2M">
<binary name="fs_query"/>
<resource name="RAM" quantum="2M"/>
<config>
<vfs/>
<query path="/non_existent_1"/>
@ -101,8 +95,7 @@ install_config {
</route>
</start>
<start name="fs_query" caps="120">
<resource name="RAM" quantum="2M"/>
<start name="fs_query" caps="120" ram="2M">
<config>
<vfs>
<dir name="empty"/>
@ -121,9 +114,8 @@ install_config {
</route>
</start>
<start name="test" caps="700">
<start name="test" caps="700" ram="20M">
<binary name="sequence"/>
<resource name="RAM" quantum="20M"/>
<config>
<start name="/bin/sleep" caps="500">
<config>

View File

@ -29,18 +29,15 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<default caps="100" ram="1M"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="lx_block" ld="no">
<resource name="RAM" quantum="2M"/>
<start name="lx_block" ld="no" ram="2M">
<provides> <service name="Block"/> </provides>
<config file="gpt.img" block_size="512" writeable="yes"/>
</start>
<start name="gpt_write">
<resource name="RAM" quantum="2M"/>
<start name="gpt_write" ram="2M">
<config verbose="yes" initialize="yes" align="4K">
<actions>
<add entry="1" type="BIOS" label="GRUB BIOS" start="2048" size="1M"/>

View File

@ -20,19 +20,17 @@ install_config {
<service name="IO_PORT"/>
</parent-provides>
<default caps="100"/>
<default caps="100" ram="1M"/>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -44,7 +42,6 @@ install_config {
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -60,15 +57,13 @@ install_config {
</start>
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="gui_fader.config">
@ -93,8 +88,7 @@ install_config {
</config>
</start>
<start name="gui_fader">
<resource name="RAM" quantum="8M"/>
<start name="gui_fader" ram="8M">
<provides><service name="Gui"/></provides>
<route>
<service name="ROM" label="config">
@ -105,17 +99,15 @@ install_config {
</route>
</start>
<start name="scout">
<resource name="RAM" quantum="16M"/>
<start name="scout" ram="16M">
<route>
<service name="Gui"> <child name="gui_fader" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="scout2">
<start name="scout2" ram="16M">
<binary name="scout" />
<resource name="RAM" quantum="16M"/>
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>

View File

@ -24,19 +24,17 @@ install_config {
<service name="IO_PORT"/>
</parent-provides>
<default caps="100"/>
<default caps="100" ram="1M"/>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="drivers" caps="1500" managing_system="yes">
<resource name="RAM" quantum="64M"/>
<start name="drivers" caps="1500" ram="64M" managing_system="yes">
<binary name="init"/>
<route>
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
@ -47,8 +45,7 @@ install_config {
</route>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="4M"/>
<start name="nitpicker" ram="4M">
<provides>
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
</provides>
@ -65,15 +62,13 @@ install_config {
</start>
<start name="pointer">
<resource name="RAM" quantum="1M"/>
<route>
<service name="Gui"> <child name="nitpicker" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="fonts_fs_config_rom">
<resource name="RAM" quantum="4M"/>
<start name="fonts_fs_config_rom" ram="4M">
<binary name="dynamic_rom"/>
<provides> <service name="ROM"/> </provides>
<config verbose="yes">
@ -137,8 +132,7 @@ install_config {
</config>
</start>
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides> <service name="ROM"/> </provides>
<config verbose="yes">
<rom name="dialog">
@ -292,13 +286,11 @@ install_config {
</start>
<start name="report_rom">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Report"/> <service name="ROM"/> </provides>
<config verbose="yes"/>
</start>
<start name="fonts_fs" caps="300">
<resource name="RAM" quantum="8M"/>
<start name="fonts_fs" caps="300" ram="8M">
<binary name="vfs"/>
<route>
<service name="ROM" label="config"> <child name="fonts_fs_config_rom"/> </service>
@ -307,8 +299,7 @@ install_config {
<provides> <service name="File_system"/> </provides>
</start>
<start name="menu_view" caps="200">
<resource name="RAM" quantum="8M"/>
<start name="menu_view" caps="200" ram="8M">
<config>
<report hover="yes"/>
<libc stderr="/dev/log"/>

View File

@ -17,8 +17,7 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
} [qt6_start_nodes] {
<start name="dynamic_rom">
<resource name="RAM" quantum="4M"/>
<start name="dynamic_rom" ram="4M">
<provides><service name="ROM"/></provides>
<config verbose="yes">
<rom name="channel_list">
@ -52,8 +51,7 @@ install_config {
</config>
</start>
<start name="mixer_gui_qt" caps="200">
<resource name="RAM" quantum="32M"/>
<start name="mixer_gui_qt" caps="200" ram="32M">
<config>
<vfs>
<dir name="dev">

Some files were not shown because too many files have changed in this diff Show More