mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 17:18:53 +00:00
1b4128d3d9
As noted above the former enum for the local-attachment address we discovered address clashes on current Linux installations, esp. 32-bit runtime on 64-bit Linux. The local_attach_addr is now configurable in the run script and the memory maps heuristics were removed.
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
build "core init test/sub_rm"
|
|
|
|
create_boot_directory
|
|
|
|
proc local_attach_addr {} { return "0x70000000" }
|
|
proc attach_twice_forbidden {} { if { [have_spec linux] } { return true } else { return false } }
|
|
proc support_attach_sub_any {} { if { [have_spec linux] } { return false } else { return true } }
|
|
|
|
append config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="CPU"/>
|
|
<service name="RM"/>
|
|
<service name="PD"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
<start name="test-sub_rm">
|
|
<resource name="RAM" quantum="10M"/>
|
|
<config local_attach_addr="} [local_attach_addr] {"
|
|
attach_twice_forbidden="} [attach_twice_forbidden] {"
|
|
support_attach_sub_any="} [support_attach_sub_any] {"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
install_config $config
|
|
|
|
build_boot_image "core ld.lib.so init test-sub_rm"
|
|
|
|
append qemu_args "-nographic "
|
|
|
|
run_genode_until {.*--- end of sub-rm test ---.*} 20
|