2011-12-22 15:19:25 +00:00
|
|
|
build "core init drivers/timer test/signal"
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CAP"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_PORT"/>
|
2012-10-09 13:41:40 +00:00
|
|
|
<service name="IO_MEM"/>
|
2011-12-22 15:19:25 +00:00
|
|
|
<service name="SIGNAL"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
<start name="test-signal">
|
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
build_boot_image "core init timer test-signal"
|
|
|
|
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
|
2014-08-22 12:43:54 +00:00
|
|
|
run_genode_until {child "test-signal" exited with exit value 0.*} 200
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
puts "Test succeeded"
|