2016-09-18 17:46:54 +00:00
|
|
|
source ${genode_dir}/repos/libports/run/netty_lwip.inc
|
|
|
|
|
2019-04-24 13:09:49 +00:00
|
|
|
build { test/netty/udp }
|
2016-09-18 17:46:54 +00:00
|
|
|
|
|
|
|
append config {
|
|
|
|
<start name="netty-server-7">
|
|
|
|
<binary name="test-netty_udp"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<config ld_verbose="yes" port="7" read_write="no" nonblock="true">
|
|
|
|
<vfs>
|
|
|
|
<dir name="dev"> <log/> </dir>
|
|
|
|
<dir name="socket"> <fs/> </dir>
|
|
|
|
<dir name="tmp"> <ram/> </dir>
|
|
|
|
</vfs>
|
|
|
|
<libc stdout="/dev/log" stderr="/dev/log" socket="/socket"/>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
<start name="netty-server-7070">
|
|
|
|
<binary name="test-netty_udp"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<config ld_verbose="yes" mode="server" port="7070" nonblock="false">
|
|
|
|
<vfs>
|
|
|
|
<dir name="dev"> <log/> </dir>
|
|
|
|
<dir name="socket"> <fs/> </dir>
|
|
|
|
<dir name="tmp"> <ram/> </dir>
|
|
|
|
</vfs>
|
|
|
|
<libc stdout="/dev/log" stderr="/dev/log" socket="/socket"/>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
install_config $config
|
2019-04-24 13:09:49 +00:00
|
|
|
build_boot_image { test-netty_udp }
|
2016-09-18 17:46:54 +00:00
|
|
|
run_genode_until forever
|
|
|
|
|
|
|
|
# vi: set ft=tcl :
|