Arora demo: make Nitpicker plugin work

Fixes #620.
This commit is contained in:
Christian Prochaska 2013-01-16 12:52:48 +01:00 committed by Norman Feske
parent e2889f3f11
commit 36a37b9866
2 changed files with 57 additions and 0 deletions

View File

@ -6,6 +6,7 @@ set build_components {
core init
drivers/timer drivers/framebuffer drivers/pci drivers/input drivers/nic
server/nitpicker
server/loader server/tar_rom server/nit_fb app/launchpad test/nitpicker
app/arora
}
@ -13,6 +14,11 @@ build $build_components
create_boot_directory
#
# Generate tar archives with plugin configurations
#
exec tar cf bin/nitpicker_plugin.tar -C [genode_dir]/ports/src/app/arora/demo/nitpicker_plugin config.plugin
#
# Generate config
#
@ -82,6 +88,10 @@ append config {
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
</start>
<start name="loader">
<resource name="RAM" quantum="2M"/>
<provides><service name="Loader"/></provides>
</start>
<start name="arora">
<resource name="RAM" quantum="2G"/>
</start>
@ -98,6 +108,11 @@ set boot_modules {
core init
timer nic_drv
nitpicker
loader
tar_rom
nit_fb
launchpad
testnit
arora
ld.lib.so
libc.lib.so libm.lib.so lwip.lib.so
@ -116,6 +131,7 @@ set boot_modules {
qt_xml.lib.so
qnitpickerviewwidget.lib.so
qpluginwidget.lib.so
nitpicker_plugin.tar
}

View File

@ -0,0 +1,41 @@
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
<service name="Timer"/>
<service name="Nitpicker"/>
</parent-provides>
<default-route> <any-service> <any-child/> <parent/> </any-service> </default-route>
<start name="framebuffer">
<binary name="nit_fb"/>
<resource name="RAM" quantum="8M"/>
<provides>
<service name="Framebuffer"/>
<service name="Input"/>
</provides>
<route> <any-service> <parent/> </any-service> </route>
<config xpos="0" ypos="0" width="640" height="480"/>
</start>
<start name="nitpicker">
<resource name="RAM" quantum="1M"/>
<provides><service name="Nitpicker"/></provides>
<config/>
</start>
<start name="launchpad">
<resource name="RAM" quantum="1G"/>
<config xpos="50" ypos="10" width="400" height="400">
<launcher><filename>testnit</filename><ram_quota>512K</ram_quota></launcher>
<launcher><filename>launchpad</filename><ram_quota>6M</ram_quota>
<config xpos="90" ypos="50" width="400" height="400">
<launcher><filename>testnit</filename><ram_quota>512K</ram_quota></launcher>
</config>
</launcher>
</config>
</start>
</config>