2014-01-06 18:15:14 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
#
|
2017-04-14 17:19:39 +00:00
|
|
|
# To use the themed decorator instead of the default one, replace 'pkg/wm'
|
|
|
|
# with 'pkg/themed_wm'.
|
2014-01-06 18:15:14 +00:00
|
|
|
#
|
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
import_from_depot genodelabs/src/[base_src] \
|
|
|
|
genodelabs/pkg/[drivers_interactive_pkg] \
|
|
|
|
genodelabs/pkg/wm \
|
|
|
|
genodelabs/raw/genode_bg \
|
|
|
|
genodelabs/pkg/backdrop \
|
|
|
|
genodelabs/src/demo \
|
|
|
|
genodelabs/src/init \
|
|
|
|
genodelabs/src/nitpicker \
|
2018-04-23 08:49:21 +00:00
|
|
|
genodelabs/src/nit_fb \
|
|
|
|
genodelabs/src/vfs
|
2017-04-14 17:19:39 +00:00
|
|
|
|
|
|
|
install_config {
|
2014-08-25 16:27:33 +00:00
|
|
|
<config prio_levels="2">
|
2014-01-06 18:15:14 +00:00
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-04-14 17:19:39 +00:00
|
|
|
</default-route>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="drivers" caps="1000">
|
2017-11-07 10:28:50 +00:00
|
|
|
<resource name="RAM" quantum="32M" constrain_phys="yes"/>
|
2017-04-14 17:19:39 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
|
|
|
<provides>
|
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
|
|
|
</provides>
|
|
|
|
</start>
|
|
|
|
|
2014-01-06 18:15:14 +00:00
|
|
|
<start name="nitpicker">
|
2017-02-02 17:42:35 +00:00
|
|
|
<resource name="RAM" quantum="4M"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
<provides><service name="Nitpicker"/></provides>
|
2018-04-06 07:29:46 +00:00
|
|
|
<config focus="rom">
|
2015-09-30 09:30:02 +00:00
|
|
|
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
|
2018-04-06 07:29:46 +00:00
|
|
|
<domain name="default" layer="2" content="client" label="no" hover="always"/>
|
2015-09-30 09:30:02 +00:00
|
|
|
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="pointer" domain="pointer"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-01-06 18:15:14 +00:00
|
|
|
<start name="pointer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<route>
|
|
|
|
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="wm" caps="1000">
|
2018-04-06 07:29:46 +00:00
|
|
|
<resource name="RAM" quantum="32M"/>
|
2017-03-31 06:59:53 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<provides> <service name="Nitpicker"/> </provides>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
2017-03-31 06:59:53 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
|
|
|
|
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2014-01-06 18:15:14 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2018-04-06 07:29:46 +00:00
|
|
|
<start name="launchpad" priority="-1" caps="1000">
|
2014-08-14 14:25:29 +00:00
|
|
|
<resource name="RAM" quantum="20M"/>
|
|
|
|
<config>
|
2018-04-06 07:29:46 +00:00
|
|
|
<launcher name="nit_fb" ram_quota="7M" caps="100">
|
2018-06-25 09:12:00 +00:00
|
|
|
<config initial_width="500" initial_height="400" />
|
2014-08-14 14:25:29 +00:00
|
|
|
</launcher>
|
2018-04-06 07:29:46 +00:00
|
|
|
<launcher name="nitpicker" ram_quota="1M" caps="100">
|
2014-08-14 14:25:29 +00:00
|
|
|
<config>
|
2018-04-06 07:29:46 +00:00
|
|
|
<domain name="default" layer="2" content="client"
|
|
|
|
label="no" hover="always" focus="click"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
</config>
|
|
|
|
</launcher>
|
2018-04-06 07:29:46 +00:00
|
|
|
<launcher name="testnit" ram_quota="1M" caps="100"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
</config>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
|
|
|
<any-service> <child name="wm"/> <parent/> <any-child/>
|
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-08-25 16:27:33 +00:00
|
|
|
<start name="backdrop" priority="-1">
|
2017-03-24 16:41:30 +00:00
|
|
|
<resource name="RAM" quantum="24M"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
<config>
|
2017-03-24 16:41:30 +00:00
|
|
|
<libc/>
|
|
|
|
<vfs>
|
|
|
|
<rom name="genode_logo.png"/>
|
|
|
|
<rom name="grid.png"/>
|
|
|
|
</vfs>
|
2014-08-14 14:25:29 +00:00
|
|
|
<fill color="#224433" />
|
|
|
|
<image png="grid.png" tiled="yes" alpha="200" />
|
|
|
|
<image png="genode_logo.png" anchor="bottom_right" alpha="150"
|
|
|
|
xpos="-20" ypos="-20" />
|
|
|
|
</config>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
2017-03-24 16:41:30 +00:00
|
|
|
<any-service> <child name="nitpicker" label="backdrop"/> <parent/> <any-child/>
|
2014-01-06 18:15:14 +00:00
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-08-25 16:27:33 +00:00
|
|
|
<start name="wm_backdrop" priority="-1">
|
2014-08-14 14:25:29 +00:00
|
|
|
<binary name="backdrop" />
|
2017-03-24 16:41:30 +00:00
|
|
|
<resource name="RAM" quantum="24M"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
<config>
|
2017-03-24 16:41:30 +00:00
|
|
|
<libc/>
|
|
|
|
<vfs>
|
|
|
|
<rom name="genode_logo.png"/>
|
|
|
|
</vfs>
|
2014-08-14 14:25:29 +00:00
|
|
|
<fill color="#664455" />
|
|
|
|
<image png="genode_logo.png" scale="zoom" alpha="150" />
|
|
|
|
<image png="genode_logo.png" scale="fit" alpha="150" tiled="yes" />
|
|
|
|
<image png="genode_logo.png" />
|
2014-01-06 18:15:14 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<any-service> <child name="wm"/> <parent/> <any-child/>
|
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2018-04-06 07:29:46 +00:00
|
|
|
#
|
|
|
|
# Pin the nitpicker focus to the window manager by providing a static focus ROM
|
|
|
|
#
|
|
|
|
set fd [open [run_dir]/genode/focus w]
|
|
|
|
puts $fd "<focus label=\"wm -> wm -> \"/>"
|
|
|
|
close $fd
|
|
|
|
|
|
|
|
build { server/nitpicker server/wm test/nitpicker }
|
2014-01-06 18:15:14 +00:00
|
|
|
|
2018-04-06 07:29:46 +00:00
|
|
|
build_boot_image { nitpicker wm testnit }
|
2014-01-06 18:15:14 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|