mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Updated MxTasking example
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
build "core init timer app/hello_mxtask"
|
||||
create_boot_directory
|
||||
|
||||
|
||||
install_config {
|
||||
<config>
|
||||
<parent-provides>
|
||||
@@ -12,9 +13,7 @@ install_config {
|
||||
<service name="IRQ"/>
|
||||
<service name="IO_MEM"/>
|
||||
<service name="IO_PORT"/>
|
||||
<service name="CAP"/>
|
||||
<service name="RM"/>
|
||||
<service name="SIGNAL"/>
|
||||
</parent-provides>
|
||||
<default-route>
|
||||
<any-service><parent/><any-child/></any-service>
|
||||
@@ -28,16 +27,19 @@ install_config {
|
||||
</route>
|
||||
</start>
|
||||
<start name="hello_mxtask">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
<resource name="RAM" quantum="8000M"/>
|
||||
<route>
|
||||
<service name="Timer"> <child name="timer"/> </service>
|
||||
<any-service><parent/><any-child/></any-service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</route>
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
</config>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
set boot_modules {
|
||||
core init timer vfs.lib.so ld.lib.so libm.lib.so libc.lib.so stdcxx.lib.so mxtasking.lib.so hello_mxtask
|
||||
core init timer vfs.lib.so ld.lib.so libm.lib.so libc.lib.so stdcxx.lib.so hello_mxtask
|
||||
}
|
||||
build_boot_image $boot_modules
|
||||
append qemu_args "-nographic -m 64"
|
||||
|
||||
Reference in New Issue
Block a user