mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +00:00
4c3d49459b
With the use of the new timer interface, each timer client uses signals. Hence, programs that have not used signals before will consume slightly more quota. This is the case for the moon test (triggered on foc_x64_64 only).
44 lines
867 B
Plaintext
44 lines
867 B
Plaintext
#
|
|
# Lua C++ library test
|
|
#
|
|
|
|
build "core init drivers/timer test/moon"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="RM"/>
|
|
<service name="CAP"/>
|
|
<service name="LOG"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IRQ"/>
|
|
<service name="CPU"/>
|
|
<service name="SIGNAL"/>
|
|
</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-moon">
|
|
<resource name="RAM" quantum="1G"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image {
|
|
core init timer test-moon
|
|
ld.lib.so libc.lib.so libc_log.lib.so libm.lib.so
|
|
}
|
|
|
|
append qemu_args " -nographic -m 64 "
|
|
|
|
run_genode_until {.*test-moon.*Finished\..*} 30
|
|
|