<config verbose="no" 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="Usb"/>
		<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="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"/> <service name="Block"/> </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"/> </config>
		<route>
			<service name="File_system"> <child name="fs"/> </service>
			<any-service> <parent/> </any-service>
		</route>
	</start>

	<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"/>
			<policy label="depot_query -> query"      report="depot_deploy -> query"/>
			<policy label="dynamic -> config"         report="depot_deploy -> init.config"/>
		</config>
	</start>

	<start name="depot_rom">
		<binary name="fs_rom"/>
		<resource name="RAM" quantum="80M"/>
		<provides> <service name="ROM"/> </provides>
		<route>
			<service name="File_system"> <child name="depot_fs"/> </service>
			<any-service> <parent/> </any-service>
		</route>
	</start>

	<start name="depot_query">
		<resource name="RAM" quantum="1M"/>
		<config query="rom">
			<vfs> <dir name="depot"> <fs/> </dir> </vfs>
		</config>
		<route>
			<service name="ROM" label="query"> <child name="report_rom"/> </service>
			<service name="Report"> <child name="report_rom"/> </service>
			<service name="File_system"> <child name="depot_fs"/> </service>
			<any-service> <parent/> <any-child/> </any-service>
		</route>
	</start>

	<start name="depot_deploy">
		<resource name="RAM" quantum="1M"/>
		<route>
			<service name="ROM" label="config">
				<parent label="config -> deploy/config"/> </service>
			<service name="ROM" label="blueprint"> <child name="report_rom"/> </service>
			<service name="Report"> <child name="report_rom"/> </service>
			<any-service> <parent/> <any-child/> </any-service>
		</route>
	</start>

	<start name="dynamic" caps="30000">
		<resource name="RAM" quantum="12G"/>
		<binary name="init"/>
		<route>
			<service name="ROM" label_last="ld.lib.so">  <parent/> </service>
			<service name="ROM" label_last="init">       <parent/> </service>
			<service name="ROM" label_last="vimrc">      <parent/> </service>
			<service name="ROM" label_last="slides.pdf"> <parent/> </service>
			<service name="ROM" label_last="capslock">   <parent label="capslock"/> </service>
			<service name="ROM" label_last="hypervisor_info_page"> <parent/> </service>
			<service name="ROM" label_last="wlan.config">
				<parent label="config -> wlan.config"/> </service>
			<service name="ROM" label="config"> <child name="report_rom"/> </service>
			<service name="ROM" label="clicked"> <parent label="clicked"/> </service>
			<service name="ROM"> <child name="depot_rom"/> </service>
			<service name="Report" label="focus"> <parent label="focus"/> </service>
			<service name="Nitpicker" label="backdrop"> <parent label="backdrop"/> </service>
			<service name="File_system" label="config"> <parent label="config"/> </service>
			<service name="File_system" label="report"> <parent label="report"/> </service>
			<service name="File_system" label="rw">     <child name="fs"/> </service>
			<service name="Block" label_prefix="default"> <child name="fs"/> </service>
			<any-service> <parent/> <any-child/> </any-service>
		</route>
	</start>

</config>
