2012-05-06 19:56:37 +00:00
|
|
|
#
|
|
|
|
# Lua C++ library test
|
|
|
|
#
|
|
|
|
|
2012-05-06 21:30:47 +00:00
|
|
|
build "core init drivers/timer test/moon"
|
2012-05-06 19:56:37 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RM"/>
|
2012-05-06 21:30:47 +00:00
|
|
|
<service name="CAP"/>
|
2012-05-06 19:56:37 +00:00
|
|
|
<service name="LOG"/>
|
2012-05-30 06:51:28 +00:00
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="IRQ"/>
|
2012-08-10 09:57:56 +00:00
|
|
|
<service name="CPU"/>
|
2012-05-06 19:56:37 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
2012-05-06 21:30:47 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides> <service name="Timer"/> </provides>
|
|
|
|
</start>
|
2012-05-06 19:56:37 +00:00
|
|
|
<start name="test-moon">
|
|
|
|
<resource name="RAM" quantum="1100K"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
build_boot_image {
|
2012-05-06 21:30:47 +00:00
|
|
|
core init timer test-moon
|
2012-05-06 19:56:37 +00:00
|
|
|
ld.lib.so libc.lib.so libc_log.lib.so libm.lib.so
|
|
|
|
}
|
|
|
|
|
|
|
|
append qemu_args " -nographic -m 64 "
|
|
|
|
|
2012-05-06 21:30:47 +00:00
|
|
|
run_genode_until {.*test-moon.*Finished\..*} 30
|
2012-05-06 19:56:37 +00:00
|
|
|
|