2011-12-22 15:19:25 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2019-02-08 00:26:21 +00:00
|
|
|
import_from_depot [depot_user]/src/[base_src] \
|
|
|
|
[depot_user]/pkg/[drivers_interactive_pkg] \
|
|
|
|
[depot_user]/pkg/terminal \
|
|
|
|
[depot_user]/src/init
|
2017-02-13 12:11:12 +00:00
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
install_config {
|
|
|
|
<config>
|
2011-12-22 15:19:25 +00:00
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
</parent-provides>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
<default-route>
|
2015-06-08 07:05:32 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2011-12-22 15:19:25 +00:00
|
|
|
</default-route>
|
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
<default caps="100"/>
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
<start name="timer">
|
2013-12-29 00:03:17 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
2011-12-22 15:19:25 +00:00
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2020-06-16 13:46:59 +00:00
|
|
|
<start name="drivers" caps="1500">
|
|
|
|
<resource name="RAM" quantum="64M" constrain_phys="yes"/>
|
2018-04-11 12:14:20 +00:00
|
|
|
<binary name="init"/>
|
2017-02-13 12:11:12 +00:00
|
|
|
<route>
|
2018-04-11 12:14:20 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<any-service> <parent/> </any-service>
|
2017-02-13 12:11:12 +00:00
|
|
|
</route>
|
2018-04-11 12:14:20 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
|
|
|
</provides>
|
2017-02-13 12:11:12 +00:00
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2019-08-23 13:55:22 +00:00
|
|
|
<start name="terminal" caps="110">
|
2011-12-22 15:19:25 +00:00
|
|
|
<resource name="RAM" quantum="2M"/>
|
|
|
|
<provides><service name="Terminal"/></provides>
|
2017-02-13 12:11:12 +00:00
|
|
|
<route>
|
2018-04-11 12:14:20 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="terminal.config"/> </service>
|
2017-02-13 12:11:12 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
2011-12-22 15:19:25 +00:00
|
|
|
</start>
|
2017-02-13 12:11:12 +00:00
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
<start name="test-terminal_echo">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
build { server/terminal test/terminal_echo }
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
build_boot_image { terminal test-terminal_echo }
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|
|
|
|
|