genode/repos/hello_tutorial/run/hello.run

44 lines
763 B
Plaintext
Raw Normal View History

2011-12-22 15:19:25 +00:00
#
# Build
#
2016-05-20 12:49:45 +00:00
build { core init hello }
2011-12-22 15:19:25 +00:00
create_boot_directory
#
# Generate config
#
install_config {
<config>
<parent-provides>
<service name="LOG"/>
<service name="PD"/>
<service name="CPU"/>
<service name="ROM"/>
2011-12-22 15:19:25 +00:00
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="50"/>
2011-12-22 15:19:25 +00:00
<start name="hello_server">
<resource name="RAM" quantum="1M"/>
2016-05-20 12:49:45 +00:00
<provides> <service name="Hello"/> </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 ld.lib.so init hello_client hello_server }
2011-12-22 15:19:25 +00:00
append qemu_args " -nographic "
run_genode_until forever
2016-05-20 12:49:45 +00:00
run_genode_until "hello test completed.*\n" 10