Child component creation
Norman Feske
norman.feske at ...1...
Wed Jul 6 16:18:35 CEST 2016
Hello Denis,
welcome to the mailing list!
In addition to Martin's recommendation, you can also find another (much
simpler) example at 'os/src/test/fault_detection/' and the accompanied
run script at 'os/run/fault_detection.run'. The program starts a child
component and responds to an invalid memory access by the child. In
contrast to init, you can see the mechanics of creating the child in a
single source file.
Cheers
Norman
On 06.07.2016 15:48, Martin Stein wrote:
> Hi Denis,
>
> You might have a look at the init component [1]. It creates children
> according to a given configuration. An example configuration can be
> found in (almost) all run scripts as init is the only child of Genodes
> core component and in this role responsible for starting all other
> components. Just look out for the call to 'install_config' in a run
> script (a good example is the timer test [2]).
>
> Cheers,
> Martin
>
> [1]
> os/src/init
> os/include/init
>
> [2] os/run/timer.run
>
> Am 06.07.2016 um 14:17 schrieb Denis Huber:
>> Hello,
>>
>> I am looking for information on how to develop a parent component which
>> creates new children (just the basics).
>>
>> I read the first 3 chapters of the Genode book which gave me the
>> theoretical information, but I could not find the practical
>> information/tutorials on how to create a child component. Is there a
>> good example in the source code of genode?
>>
>>
>> Best regards
>> Denis
--
Dr.-Ing. Norman Feske
Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users
mailing list