mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
8bd0efced6
Adapted launchpad and also the rm_fault and resource_request tests. Issue #2407
44 lines
763 B
Plaintext
44 lines
763 B
Plaintext
#
|
|
# Build
|
|
#
|
|
|
|
build { core init hello }
|
|
|
|
create_boot_directory
|
|
|
|
#
|
|
# Generate config
|
|
#
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="PD"/>
|
|
<service name="CPU"/>
|
|
<service name="ROM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>
|
|
<default caps="50"/>
|
|
<start name="hello_server">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides> <service name="Hello"/> </provides>
|
|
</start>
|
|
<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 }
|
|
|
|
append qemu_args " -nographic "
|
|
|
|
run_genode_until forever
|
|
run_genode_until "hello test completed.*\n" 10
|