2016-01-18 13:48:30 +00:00
|
|
|
build {
|
2017-01-20 15:32:29 +00:00
|
|
|
core init drivers/timer server/log_terminal noux/minimal lib/libc_noux
|
|
|
|
test/noux_fork
|
2012-02-14 15:18:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config verbose="yes">
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <any-child/> <parent/> </any-service>
|
|
|
|
</default-route>
|
2017-01-20 15:32:29 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2016-01-18 13:48:30 +00:00
|
|
|
<start name="log_terminal">
|
2016-04-15 13:19:22 +00:00
|
|
|
<resource name="RAM" quantum="2M"/>
|
2012-02-14 15:18:16 +00:00
|
|
|
<provides><service name="Terminal"/></provides>
|
|
|
|
</start>
|
|
|
|
<start name="noux">
|
2016-12-13 16:09:35 +00:00
|
|
|
<resource name="RAM" quantum="1G"/>
|
2016-12-17 13:05:57 +00:00
|
|
|
<config verbose="yes" stdin="/null" stdout="/log" stderr="/log">
|
|
|
|
<fstab>
|
|
|
|
<null/> <log/>
|
|
|
|
<rom name="test-noux_fork" />
|
|
|
|
</fstab>
|
2012-02-14 15:18:16 +00:00
|
|
|
<start name="test-noux_fork"> </start>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
build_boot_image {
|
2017-01-20 15:32:29 +00:00
|
|
|
core init timer log_terminal noux ld.lib.so libc.lib.so libm.lib.so
|
2017-05-14 19:55:57 +00:00
|
|
|
libc_noux.lib.so posix.lib.so test-noux_fork
|
2012-02-14 15:18:16 +00:00
|
|
|
}
|
|
|
|
|
2016-01-18 13:48:30 +00:00
|
|
|
append qemu_args " -nographic "
|
2012-02-14 15:18:16 +00:00
|
|
|
|
2016-12-17 13:05:57 +00:00
|
|
|
run_genode_until "--- parent done ---.*\n" 20
|
|
|
|
run_genode_until "child.*exited.*\n" 5 [output_spawn_id]
|