Update documentation for hello_tutorial

Bring the docs up to date with the current run definition at
https://github.com/genodelabs/genode/blob/master/repos/hello_tutorial/run/hello.run
as well as changes to the imports of
https://github.com/genodelabs/genode/blob/master/repos/hello_tutorial/src/hello/server/main.cc

Fix #5291
Fix #5292
This commit is contained in:
Spencer 2024-07-15 12:45:19 -07:00 committed by Christian Helmuth
parent e64b07d7a4
commit 91e81591fe

View File

@ -193,6 +193,7 @@ the applications as a class called 'Main' with its constructor taking the
component's environment as argument. component's environment as argument.
!#include <base/component.h> !#include <base/component.h>
!#include <base/heap.h>
! !
!namespace Hello { struct Main; } !namespace Hello { struct Main; }
! !
@ -407,7 +408,7 @@ script, which can be executed directly from within your build directory.
A run script for the hello client-server scenario should be placed A run script for the hello client-server scenario should be placed
at the _run/hello.run_ and look as follows: at the _run/hello.run_ and look as follows:
!build { core init hello } !build { core lib/ld init hello }
! !
!create_boot_directory !create_boot_directory
! !
@ -415,6 +416,9 @@ at the _run/hello.run_ and look as follows:
!<config> !<config>
! <parent-provides> ! <parent-provides>
! <service name="LOG"/> ! <service name="LOG"/>
! <service name="PD"/>
! <service name="CPU"/>
! <service name="ROM"/>
! </parent-provides> ! </parent-provides>
! <default-route> ! <default-route>
! <any-service> <parent/> <any-child/> </any-service> ! <any-service> <parent/> <any-child/> </any-service>
@ -429,7 +433,7 @@ at the _run/hello.run_ and look as follows:
! </start> ! </start>
!</config>} !</config>}
! !
!build_boot_image { core ld.lib.so init hello_client hello_server } !build_boot_image [build_artifacts]
! !
!append qemu_args " -nographic " !append qemu_args " -nographic "
! !