base: new interface for textual output

Issue #1942
This commit is contained in:
Norman Feske
2016-05-03 16:31:17 +02:00
parent 3bceefc9cf
commit 1f395ae780
22 changed files with 693 additions and 95 deletions

View File

@@ -26,6 +26,7 @@ SRC_CC = main.cc \
thread_linux.cc \
stack_area.cc \
core_printf.cc \
default_log.cc \
env_reinit.cc \
thread.cc thread_myself.cc
@@ -49,6 +50,7 @@ vpath platform_services.cc $(GEN_CORE_DIR)
vpath signal_source_component.cc $(GEN_CORE_DIR)
vpath trace_session_component.cc $(GEN_CORE_DIR)
vpath core_rpc_cap_alloc.cc $(GEN_CORE_DIR)
vpath default_log.cc $(GEN_CORE_DIR)
vpath core_printf.cc $(BASE_DIR)/src/lib/base
vpath thread.cc $(BASE_DIR)/src/lib/base
vpath thread_myself.cc $(BASE_DIR)/src/lib/base

View File

@@ -19,6 +19,7 @@
/* base-internal includes */
#include <base/internal/native_thread.h>
#include <base/internal/globals.h>
extern "C" int raw_write_str(const char *str);
@@ -109,6 +110,7 @@ void Genode::call_global_static_constructors() { }
int main()
{
Genode::init_log();
Genode::bootstrap_component();
/* never reached */