2011-12-22 15:19:25 +00:00
|
|
|
#
|
|
|
|
# Build
|
|
|
|
#
|
|
|
|
|
|
|
|
build { core init hello drivers/timer }
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
#
|
|
|
|
# Generate config
|
|
|
|
#
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="CAP"/>
|
|
|
|
<service name="LOG"/>
|
2013-01-22 11:36:13 +00:00
|
|
|
<service name="RM"/>
|
2014-03-18 16:00:46 +00:00
|
|
|
<service name="SIGNAL"/>
|
2011-12-22 15:19:25 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
2014-03-18 16:00:46 +00:00
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
<start name="hello_server">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Hello"/></provides>
|
|
|
|
</start>
|
2014-03-18 16:00:46 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2011-12-22 15:19:25 +00:00
|
|
|
<start name="hello_client">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Boot image
|
|
|
|
#
|
|
|
|
|
|
|
|
build_boot_image { core init hello_client hello_server timer }
|
|
|
|
|
|
|
|
append qemu_args " -nographic "
|
|
|
|
|
|
|
|
run_genode_until forever
|