File tree Expand file tree Collapse file tree
test/kernel/integration/smp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,12 +137,6 @@ class OS {
137137 * Add handler for standard output.
138138 */
139139 static void add_stdout (print_func func);
140- /* *
141- * Add stdout handler that simply calls OS::default_stdout
142- **/
143- static void add_default_stdout () {
144- add_stdout (OS::default_stdout);
145- }
146140
147141 /* *
148142 * The default output method preferred by each platform
Original file line number Diff line number Diff line change 2222#include < sys/types.h>
2323
2424extern " C" {
25- int kill (pid_t pid, int sig);
2625 void panic (const char * why) __attribute__((noreturn));
2726 void default_exit () __attribute__((noreturn));
2827
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/config.json)
7373 add_library (config_json STATIC config_json.o )
7474 set_target_properties (config_json PROPERTIES LINKER_LANGUAGE CXX )
7575 target_link_libraries (service --whole-archive config_json --no-whole-archive )
76+ set (PLUGINS ${PLUGINS} autoconf)
7677endif ()
7778
7879#
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ set(SERVICE_NAME "Acorn Web Appliance")
1515# Name of your service binary
1616set (BINARY "acorn" )
1717
18- # Maximum memory can be hard-coded into the binary
19- set (MAX_MEM 128)
20-
2118# Source files to be linked with OS library parts to form bootable image
2219set (SOURCES
2320 service.cpp fs/acorn_fs.cpp
Original file line number Diff line number Diff line change @@ -36,14 +36,10 @@ set(SOURCES
3636
3737if ("$ENV{PLATFORM} " STREQUAL "x86_solo5" )
3838 set (DRIVERS
39- silent_start # Less output during boot
40- solo5net # Virtio networking
41- # virtioblock # Virtio block device
42- # ... Others from src/drivers
39+ solo5net
4340 )
4441else ()
4542 set (DRIVERS
46- silent_start # Less output during boot
4743 virtionet # Virtio networking
4844 # virtioblock # Virtio block device
4945 # ... Others from src/drivers
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ set(SOURCES
3434# DRIVERS / PLUGINS:
3535
3636set (DRIVERS
37- silent_start
3837 virtionet # Virtio networking
3938 # ... Others from IncludeOS/src/drivers
4039 )
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 2.8.9 )
2-
3- # IncludeOS install location
42if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
53 set (ENV{INCLUDEOS_PREFIX} /usr/local)
64endif ()
7-
8- # Use toolchain (if needed)
95include ($ENV{INCLUDEOS_PREFIX} /includeos/pre.service.cmake )
10-
11-
12- # Name of your project
13- project (seed)
6+ project (service)
147
158# Human-readable name of your service
169set (SERVICE_NAME "IncludeOS seed" )
1710
1811# Name of your service binary
1912set (BINARY "seed" )
2013
21- # Maximum memory can be hard-coded into the binary
22- set (MAX_MEM 128)
23-
2414# Source files to be linked with OS library parts to form bootable image
2515set (SOURCES
2616 service.cpp # ...add more here
2717 )
2818
29- #
30- # Service CMake options
31- # (uncomment to enable)
32- #
33-
34- # MISC:
35-
3619# To add your own include paths:
3720# set(LOCAL_INCLUDES ".")
3821
39- # Adding memdisk (expects my.disk to exist in current dir):
40- # set(MEMDISK ${CMAKE_SOURCE_DIR}/my.disk)
41-
4222# DRIVERS / PLUGINS:
43-
4423set (DRIVERS
4524 # virtionet # Virtio networking
4625 # virtioblock # Virtio block device
@@ -52,12 +31,14 @@ set(PLUGINS
5231 # ...others
5332 )
5433
55- # THIRD PARTY LIBRARIES:
56-
34+ # STATIC LIBRARIES:
5735set (LIBRARIES
5836 # path to full library
5937 )
6038
6139
6240# include service build script
6341include ($ENV{INCLUDEOS_PREFIX} /includeos/post.service.cmake )
42+
43+ # Create in-memory filesystem from folder
44+ #diskbuilder(my_folder)
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ SECTIONS
117117 _CONFIG_JSON_START_ = .;
118118 KEEP (*(.config ))
119119 _CONFIG_JSON_END_ = .;
120+ BYTE (0 );
120121 }
121122
122123 .rodata :
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ SECTIONS
121121 _CONFIG_JSON_START_ = .;
122122 KEEP (*(.config ))
123123 _CONFIG_JSON_END_ = .;
124+ BYTE (0 );
124125 }
125126
126127 .rodata :
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ add_dependencies(vmxnet3 PrecompiledLibraries)
1616add_library (heap_debugging STATIC heap_debugging.cpp )
1717add_dependencies (heap_debugging PrecompiledLibraries )
1818
19- add_library (silent_start STATIC silent .cpp )
20- add_dependencies (silent_start PrecompiledLibraries )
19+ add_library (boot_logger STATIC bootlog .cpp )
20+ add_dependencies (boot_logger PrecompiledLibraries )
2121
2222add_library (vga_output STATIC vgaout.cpp )
2323add_dependencies (vga_output PrecompiledLibraries )
@@ -26,7 +26,7 @@ install(TARGETS
2626 virtionet virtioblk
2727 vmxnet3
2828 heap_debugging
29- silent_start vga_output
29+ boot_logger vga_output
3030 DESTINATION includeos/${ARCH} /drivers)
3131
3232if (WITH_SOLO5)
You can’t perform that action at this time.
0 commit comments