<!---------------------------------------->
<!--  Example configuration for init,   -->
<!--  starting a single Linux instance  -->
<!--  as fullscreen app. with network   -->
<!--  connection and a root-filesystem  -->
<!--  in an image file                  -->
<!---------------------------------------->

<config>

	<!-------------------------->
	<!-- Global routing table -->
	<!-------------------------->
	<parent-provides>
		<service name="ROM"/>
		<service name="RAM"/>
		<service name="IRQ"/>
		<service name="IO_MEM"/>
		<service name="IO_PORT"/>
		<service name="CAP"/>
		<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 entries -->
	<!------------------->
	<start name="ps2_drv">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="Input"/></provides>
	</start>
	<start name="pci_drv">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="PCI"/></provides>
	</start>
	<start name="vesa_drv">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="Framebuffer"/></provides>
	</start>
	<start name="nic_drv">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="Nic"/></provides>
	</start>
	<start name="timer">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="Timer"/></provides>
	</start>

	<!-- Block service providing rootfs used by OKLinux/Genode block driver -->
	<start name="rom_loopdev">
		<resource name="RAM" quantum="1M"/>
		<provides><service name="Block"/></provides>
		<config>
			<filename>rootfs.img</filename>
		</config>
	</start>

	<!-- Linux instance using a framebuffer, block and nic session -->
	<start name="vmlinux">
		<resource name="RAM" quantum="64M"/>
		<config>
			<commandline args="root=/dev/sda"/>
			<initrd name="initrd.gz"/>
			<screens>
				<framebuffer/>
			</screens>
			<block/>
			<nic/>
		</config>
	</start>
</config>
