2011-12-22 15:19:25 +00:00
|
|
|
#
|
2013-11-22 22:19:43 +00:00
|
|
|
# \brief Test for 'rom_blk' service
|
2011-12-22 15:19:25 +00:00
|
|
|
# \author Stefan Kalkowski
|
|
|
|
# \date 2011-05-10
|
|
|
|
#
|
|
|
|
|
2013-11-22 22:19:43 +00:00
|
|
|
build "core init server/rom_blk test/rom_blk"
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CAP"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="SIGNAL"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <any-child/> <parent/></any-service>
|
|
|
|
</default-route>
|
2013-11-22 22:19:43 +00:00
|
|
|
<start name="rom_blk">
|
2011-12-22 15:19:25 +00:00
|
|
|
<resource name="RAM" quantum="3M"/>
|
|
|
|
<provides><service name="Block"/></provides>
|
|
|
|
<config file="init" block_size="512"/>
|
|
|
|
</start>
|
|
|
|
<start name="test-rom_blk">
|
|
|
|
<resource name="RAM" quantum="3M"/>
|
|
|
|
<config file="init"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2013-11-22 22:19:43 +00:00
|
|
|
build_boot_image "core init rom_blk test-rom_blk"
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
append qemu_args "-m 64 -nographic "
|
|
|
|
|
|
|
|
run_genode_until "all done, finished!" 10
|
2013-03-20 12:15:30 +00:00
|
|
|
|
|
|
|
puts "Test succeeded"
|