genode/repos/os/src/init/config.priority
Christian Helmuth 8bd0efced6 Remove obsolete RAM/CAP services from run scripts
Adapted launchpad and also the rm_fault and resource_request tests.

Issue #2407
2017-05-31 13:16:22 +02:00

93 lines
2.4 KiB
Plaintext

<!--
Test configuration for assigning priorities
===========================================
On kernels that support priorities and where priority 128 is used as priority
limit (this is the case for OKL4 and Pistachio), this configuration should
result in the following assignments of physical priorities to process-tree
nodes:
128 : core
128 : core->init
128 : core->init->init.1
112 : core->init->init.1->init.11
96 : core->init->init.1->init.12
96 : core->init->init.1->init.12->init.121
64 : core->init->init.2
-->
<!--
prio_levels 2 divides priority range 1..128 into
65..128 (prio 0)
1..64 (prio -1)
-->
<config prio_levels="2">
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="init.1" priority="0">
<binary name="init"/>
<resource name="RAM" quantum="5M"/>
<!--
prio_levels 4 divides priority range 65..128 into
113..128 (prio 0)
97..112 (prio -1)
81..96 (prio -2)
65..80 (prio -3)
-->
<config prio_levels="4">
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<!-- priority -1 results in platform priority 112 -->
<start name="init.11" priority="-1">
<binary name="init"/>
<resource name="RAM" quantum="512K"/>
<config/>
</start>
<!-- priority -2 results in platform priority 96 -->
<start name="init.12" priority="-2">
<binary name="init"/>
<resource name="RAM" quantum="2M"/>
<config>
<parent-provides>
<service name="ROM"/>
<service name="RM"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="init.121">
<binary name="init"/>
<resource name="RAM" quantum="768K"/>
<config/>
</start>
</config>
</start>
</config>
</start>
<!-- priority -1 results in platform priority 64 -->
<start name="init.2" priority="-1">
<binary name="init"/>
<resource name="RAM" quantum="6M"/>
<config/>
</start>
</config>