mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
5af3ffd6a8
Issue #4860
43 lines
713 B
Plaintext
43 lines
713 B
Plaintext
#
|
|
# Build
|
|
#
|
|
|
|
build { core lib/ld 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="60"/>
|
|
<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 [build_artifacts]
|
|
|
|
append qemu_args " -nographic "
|
|
|
|
run_genode_until "hello test completed.*\n" 10
|