mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
3e848dff10
Update the Solo5 upstream to accomadate changes to the Block session and stack protection support in the base library. Ref #3275 Ref #3283
52 lines
933 B
Plaintext
52 lines
933 B
Plaintext
if {![have_spec 64bit]} {
|
|
puts "\nSolo5 requires a 64bit architecture\n"
|
|
exit 0
|
|
}
|
|
|
|
create_boot_directory
|
|
|
|
import_from_depot \
|
|
[depot_user]/src/[base_src] \
|
|
[depot_user]/src/init \
|
|
|
|
append config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="PD"/>
|
|
<service name="RAM"/>
|
|
<service name="ROM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_PORT"/>
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service> </default-route>
|
|
|
|
<start name="timer" caps="96">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides> <service name="Timer"/> </provides>
|
|
</start>
|
|
|
|
<start name="solo5-test_ssp" caps="256">
|
|
<resource name="RAM" quantum="2M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
install_config $config
|
|
|
|
build {
|
|
test/solo5
|
|
}
|
|
|
|
build_boot_image {
|
|
solo5.lib.so
|
|
solo5-test_ssp
|
|
}
|
|
|
|
append qemu_args " -nographic "
|
|
|
|
run_genode_until {Error: stack protector check failed} 20
|