mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +00:00
120 lines
3.8 KiB
Plaintext
120 lines
3.8 KiB
Plaintext
<config verbose="yes" prio_levels="2">
|
|
|
|
<report init_ram="yes" requested="yes" child_ram="yes" delay_ms="2000" buffer="128K"/>
|
|
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="Nitpicker"/>
|
|
<service name="Timer"/>
|
|
<service name="Block"/>
|
|
<service name="Report"/>
|
|
<service name="Rtc"/>
|
|
<service name="File_system"/>
|
|
<service name="Platform"/>
|
|
</parent-provides>
|
|
|
|
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
|
|
|
|
<default caps="100"/>
|
|
|
|
<start name="nic" caps="500">
|
|
<resource name="RAM" quantum="60M"/>
|
|
<binary name="init"/>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<parent label="config -> subinit/default_nic.config"/> </service>
|
|
<service name="ROM" label="wlan.config">
|
|
<parent label="config -> wlan.config"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
<provides> <service name="Nic"/> </provides>
|
|
</start>
|
|
|
|
<start name="nic_router" caps="300">
|
|
<resource name="RAM" quantum="10M"/>
|
|
<provides><service name="Nic"/></provides>
|
|
<config verbose_domain_state="yes">
|
|
<default-policy domain="default" />
|
|
<domain name="uplink">
|
|
<nat domain="default" tcp-ports="1000" udp-ports="1000"/>
|
|
</domain>
|
|
<domain name="default" interface="10.0.1.1/24">
|
|
<dhcp-server ip_first="10.0.1.2"
|
|
ip_last="10.0.1.200"
|
|
ip_lease_time_sec="360"
|
|
dns_server="213.73.91.35"/>
|
|
<tcp dst="0.0.0.0/0"><permit-any domain="uplink"/></tcp>
|
|
<udp dst="0.0.0.0/0"><permit-any domain="uplink"/></udp>
|
|
</domain>
|
|
</config>
|
|
<route>
|
|
<service name="Nic"> <child name="nic"/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="fs" caps="500">
|
|
<resource name="RAM" quantum="114M"/>
|
|
<binary name="init"/>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<parent label="config -> subinit/default_fs.config"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
<provides> <service name="File_system"/> </provides>
|
|
</start>
|
|
|
|
<start name="depot_fs" priority="0">
|
|
<binary name="chroot"/>
|
|
<resource name="RAM" quantum="1M" />
|
|
<provides> <service name="File_system"/> </provides>
|
|
<config> <default-policy path="/depot" writeable="yes"/> </config>
|
|
<route>
|
|
<service name="File_system"> <child name="fs"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="public_fs" priority="0">
|
|
<binary name="chroot"/>
|
|
<resource name="RAM" quantum="1M" />
|
|
<provides> <service name="File_system"/> </provides>
|
|
<config> <default-policy path="/public" writeable="yes"/> </config>
|
|
<route>
|
|
<service name="File_system"> <child name="fs"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="depot_download" caps="2000">
|
|
<binary name="init"/>
|
|
<resource name="RAM" quantum="64M"/>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<parent label="config -> subinit/depot_download.config"/> </service>
|
|
<service name="File_system" label="depot">
|
|
<child name="depot_fs" label="depot"/> </service>
|
|
<service name="File_system" label="public">
|
|
<child name="public_fs" label="public"/> </service>
|
|
<service name="File_system" label="depot_rw">
|
|
<child name="depot_fs" label="depot_rw"/> </service>
|
|
<service name="File_system" label="public_rw">
|
|
<child name="public_fs" label="public_rw"/> </service>
|
|
<service name="LOG" label="dynamic -> fetchurl">
|
|
<parent label="fetchurl"/> </service>
|
|
<service name="LOG" label="dynamic -> verify">
|
|
<parent label="verify"/> </service>
|
|
<service name="LOG" label="dynamic -> extract">
|
|
<parent label="extract"/> </service>
|
|
<service name="Nic"> <child name="nic_router"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
</config>
|
|
|