mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
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."
|