committed by
Norman Feske
parent
701bd3e95d
commit
7370cc7410
2
recipes/src/rom_fallback/content.mk
Normal file
2
recipes/src/rom_fallback/content.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
SRC_DIR = src/server/rom_fallback
|
||||||
|
include $(GENODE_DIR)/repos/base/recipes/src/content.inc
|
||||||
1
recipes/src/rom_fallback/hash
Normal file
1
recipes/src/rom_fallback/hash
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2017-08-28 20b7a65bfac6aed1c94285006623a5f35169e8bb
|
||||||
1
recipes/src/rom_fallback/used_apis
Normal file
1
recipes/src/rom_fallback/used_apis
Normal file
@@ -0,0 +1 @@
|
|||||||
|
base
|
||||||
@@ -4,21 +4,19 @@
|
|||||||
# \date 2016-07-21
|
# \date 2016-07-21
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
set build_components {
|
|
||||||
core init
|
|
||||||
drivers/timer
|
|
||||||
server/rom_fallback
|
|
||||||
server/report_rom
|
|
||||||
test/libc
|
|
||||||
}
|
|
||||||
|
|
||||||
build $build_components
|
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
|
import_from_depot \
|
||||||
|
genodelabs/src/[base_src] \
|
||||||
|
genodelabs/src/init \
|
||||||
|
genodelabs/src/report_rom \
|
||||||
|
genodelabs/src/rom_fallback \
|
||||||
|
|
||||||
|
build { server/rom_fallback test/libc }
|
||||||
|
|
||||||
append config {
|
append config {
|
||||||
<config verbose="yes">
|
<config verbose="yes">
|
||||||
|
<default caps="256"/>
|
||||||
<parent-provides>
|
<parent-provides>
|
||||||
<service name="CPU"/>
|
<service name="CPU"/>
|
||||||
<service name="LOG"/>
|
<service name="LOG"/>
|
||||||
@@ -61,8 +59,8 @@ append config {
|
|||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="test-libc">
|
<start name="test-libc">
|
||||||
<resource name="RAM" quantum="8M"/>
|
<resource name="RAM" quantum="4M"/>
|
||||||
<config>
|
<config ld_verbose="yes">
|
||||||
<libc stdout="/log" stderr="log"/>
|
<libc stdout="/log" stderr="log"/>
|
||||||
<vfs> <log/> </vfs>
|
<vfs> <log/> </vfs>
|
||||||
</config>
|
</config>
|
||||||
@@ -73,18 +71,16 @@ append config {
|
|||||||
|
|
||||||
install_config $config
|
install_config $config
|
||||||
|
|
||||||
# generic modules
|
|
||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init ld.lib.so
|
|
||||||
libc.lib.so libm.lib.so posix.lib.so
|
|
||||||
report_rom
|
|
||||||
rom_fallback
|
rom_fallback
|
||||||
|
libc.lib.so
|
||||||
|
libm.lib.so
|
||||||
|
posix.lib.so
|
||||||
test-libc
|
test-libc
|
||||||
timer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
append qemu_args " -nographic"
|
append qemu_args " -nographic"
|
||||||
|
|
||||||
run_genode_until {child "test-libc" exited with exit value 0} 60
|
run_genode_until {--- libC test ---} 60
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
* under the terms of the GNU General Public License version 2.
|
* under the terms of the GNU General Public License version 2.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* TODO: ambiguated services */
|
||||||
|
|
||||||
/* Genode includes */
|
/* Genode includes */
|
||||||
#include <base/attached_rom_dataspace.h>
|
#include <base/attached_rom_dataspace.h>
|
||||||
#include <rom_session/capability.h>
|
#include <rom_session/capability.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user