mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
40 lines
896 B
Plaintext
40 lines
896 B
Plaintext
build "core init test/bomb drivers/timer"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config prio_levels="2">
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="RAM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="CAP"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="SIGNAL"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>
|
|
<start name="timer">
|
|
<resource name="RAM" quantum="768K"/>
|
|
<provides><service name="Timer"/></provides>
|
|
</start>
|
|
<start name="bomb" priority="-1">
|
|
<resource name="RAM" quantum="2G"/>
|
|
<config rounds="20"/>
|
|
</start>
|
|
</config>}
|
|
|
|
build_boot_image "core init bomb timer"
|
|
|
|
append qemu_args "-nographic -m 128"
|
|
|
|
run_genode_until "Done\. Going to sleep\." 300
|
|
|
|
puts "Test succeeded."
|