16
recipes/api/solo5/content.mk
Normal file
16
recipes/api/solo5/content.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
MIRROR_FROM_REP_DIR = lib/import/import-solo5.mk lib/symbols/solo5
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) include/solo5 LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/solo5)/src/lib/solo5
|
||||
|
||||
include/solo5:
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR)/include/solo5/* $@
|
||||
cp -r $(REP_DIR)/include/solo5/* $@
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/$@ $@
|
||||
1
recipes/api/solo5/hash
Normal file
1
recipes/api/solo5/hash
Normal file
@@ -0,0 +1 @@
|
||||
2019-05-05 8f54bd69a92ed4e090124d69a6a3b92689b39536
|
||||
1
recipes/pkg/test-solo5/README
Normal file
1
recipes/pkg/test-solo5/README
Normal file
@@ -0,0 +1 @@
|
||||
Test of the Solo5 unikernel middleware.
|
||||
8
recipes/pkg/test-solo5/archives
Normal file
8
recipes/pkg/test-solo5/archives
Normal file
@@ -0,0 +1,8 @@
|
||||
_/src/init
|
||||
_/src/nic_loopback
|
||||
_/src/vfs_block
|
||||
_/src/sequence
|
||||
_/src/solo5
|
||||
_/src/test-solo5
|
||||
_/src/vfs
|
||||
_/src/vfs_import
|
||||
1
recipes/pkg/test-solo5/hash
Normal file
1
recipes/pkg/test-solo5/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-06-18-b 32b32ac1918d2a2aebb7636e6faae4ea958b5eeb
|
||||
79
recipes/pkg/test-solo5/runtime
Normal file
79
recipes/pkg/test-solo5/runtime
Normal file
@@ -0,0 +1,79 @@
|
||||
<runtime ram="40M" caps="1000" binary="init">
|
||||
|
||||
<events>
|
||||
<timeout meaning="failed" sec="60" />
|
||||
<log meaning="succeeded">
|
||||
[init] child "test" exited with exit value 0
|
||||
</log>
|
||||
<log meaning="failed">Error: </log>
|
||||
</events>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="nic_loopback"/>
|
||||
<rom label="sequence"/>
|
||||
<rom label="sequence"/>
|
||||
<rom label="solo5.lib.so"/>
|
||||
<rom label="solo5-test_blk"/>
|
||||
<rom label="solo5-test_fpu"/>
|
||||
<rom label="solo5-test_globals"/>
|
||||
<rom label="solo5-test_hello"/>
|
||||
<rom label="solo5-test_quiet"/>
|
||||
<rom label="test-solo5"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="vfs_block"/>
|
||||
<rom label="vfs_import.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<parent-provides>
|
||||
<service name="CPU"/>
|
||||
<service name="LOG"/>
|
||||
<service name="PD"/>
|
||||
<service name="RM"/>
|
||||
<service name="ROM"/>
|
||||
<service name="Timer"/>
|
||||
</parent-provides>
|
||||
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
|
||||
|
||||
<start name="nic_loopback" caps="96">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides> <service name="Nic"/> </provides>
|
||||
</start>
|
||||
|
||||
<start name="vfs_block" caps="96">
|
||||
<resource name="RAM" quantum="17M"/>
|
||||
<provides> <service name="Block"/> </provides>
|
||||
<config>
|
||||
<vfs>
|
||||
<ram/>
|
||||
<import>
|
||||
<zero name="block_file" size="8M"/>
|
||||
</import>
|
||||
</vfs>
|
||||
<default-policy file="/block_file" block_size="4096"
|
||||
writeable="yes"/>
|
||||
</config>
|
||||
</start>
|
||||
|
||||
<start name="test" caps="256">
|
||||
<binary name="sequence"/>
|
||||
<resource name="RAM" quantum="16M"/>
|
||||
<config>
|
||||
<start name="solo5-test_hello">
|
||||
<config>
|
||||
<solo5 cmdline="Hello_Solo5"/>
|
||||
<nic/> <blk/>
|
||||
</config>
|
||||
</start>
|
||||
<start name="solo5-test_fpu"/>
|
||||
<start name="solo5-test_globals"/>
|
||||
<start name="solo5-test_quiet"/>
|
||||
<start name="solo5-test_blk">
|
||||
<config> <block/> </config>
|
||||
</start>
|
||||
</config>
|
||||
</start>
|
||||
</config>
|
||||
|
||||
</runtime>
|
||||
1
recipes/src/solo5/api
Normal file
1
recipes/src/solo5/api
Normal file
@@ -0,0 +1 @@
|
||||
solo5
|
||||
20
recipes/src/solo5/content.mk
Normal file
20
recipes/src/solo5/content.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
PORT_DIR_SOLO5 := $(call port_dir,$(REP_DIR)/ports/solo5)
|
||||
|
||||
SRC_DIR = src/lib/solo5
|
||||
|
||||
MIRROR_FROM_REP_DIR = \
|
||||
include/solo5 \
|
||||
lib/import/import-solo5.mk \
|
||||
lib/mk/solo5.mk \
|
||||
|
||||
content: $(SRC_DIR) $(MIRROR_FROM_REP_DIR)
|
||||
|
||||
$(SRC_DIR):
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR_SOLO5)/$@/* $@/
|
||||
cp -r $(PORT_DIR_SOLO5)/include/solo5/* $@/bindings
|
||||
cp $(PORT_DIR_SOLO5)/$@/LICENSE .
|
||||
echo 'LIBS=solo5' > $@/target.mk
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
1
recipes/src/solo5/hash
Normal file
1
recipes/src/solo5/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-05-26 b3a592352ce08a4c62cd8abb6718ddee44b0b184
|
||||
7
recipes/src/solo5/used_apis
Normal file
7
recipes/src/solo5/used_apis
Normal file
@@ -0,0 +1,7 @@
|
||||
base
|
||||
os
|
||||
block_session
|
||||
nic_session
|
||||
rtc_session
|
||||
timer_session
|
||||
solo5
|
||||
19
recipes/src/test-solo5/content.mk
Normal file
19
recipes/src/test-solo5/content.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
MIRROR_FROM_REP_DIR := src/test/solo5
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/solo5)
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) src/lib/solo5/tests src/lib/solo5/bindings LICENSE
|
||||
|
||||
src/lib/solo5/bindings: $(PORT_DIR)
|
||||
mkdir -p $@
|
||||
cp $(PORT_DIR)/$@/*.c $@
|
||||
|
||||
src/lib/solo5/tests: $(PORT_DIR)
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR)/$@/test_* $@
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/solo5/LICENSE $@
|
||||
1
recipes/src/test-solo5/hash
Normal file
1
recipes/src/test-solo5/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-05-26 827f99e63057492c51a8f7c2cf86f23ba35d840e
|
||||
2
recipes/src/test-solo5/used_apis
Normal file
2
recipes/src/test-solo5/used_apis
Normal file
@@ -0,0 +1,2 @@
|
||||
base
|
||||
solo5
|
||||
Reference in New Issue
Block a user