diff options
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/makefile | 2 | ||||
-rw-r--r-- | src/runtime/rt_task.C | 25 | ||||
-rw-r--r-- | src/runtime/rt_vfs.C | 22 |
3 files changed, 26 insertions, 23 deletions
diff --git a/src/runtime/makefile b/src/runtime/makefile index 06ea1d3bc..440b6adda 100644 --- a/src/runtime/makefile +++ b/src/runtime/makefile @@ -24,6 +24,6 @@ HOSTBOOT_RUNTIME = 1 ROOTPATH = ../.. OBJS = rt_start.o rt_main.o rt_console.o rt_stdlib.o rt_sync.o rt_assert.o \ - rt_vfs.o + rt_vfs.o rt_task.o include ${ROOTPATH}/config.mk diff --git a/src/runtime/rt_task.C b/src/runtime/rt_task.C new file mode 100644 index 000000000..f25e7bc69 --- /dev/null +++ b/src/runtime/rt_task.C @@ -0,0 +1,25 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/runtime/rt_task.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ +#include <sys/task.h> + +tid_t task_gettid() { return 0; } diff --git a/src/runtime/rt_vfs.C b/src/runtime/rt_vfs.C index 7558f222c..894cd47cb 100644 --- a/src/runtime/rt_vfs.C +++ b/src/runtime/rt_vfs.C @@ -23,7 +23,6 @@ #include <runtime/interface.h> #include <kernel/console.H> #include <util/align.H> -#include <kernel/console.H> #include <sys/vfs.h> #include <vector> #include <errno.h> @@ -102,24 +101,3 @@ void* vfs_start_entrypoint(VfsSystemModule * i_module) } return ptr; } - -namespace VFS -{ - void find_test_modules(std::vector<const char*> & o_list) - { - o_list.clear(); - - for(VfsSystemModule* vfsItr = &VFS_MODULES[0]; - '\0' != vfsItr->module[0]; - vfsItr++) - { - if (0 == memcmp(vfsItr->module, "libtest", 7)) - { - if (NULL != vfsItr->start) - { - o_list.push_back(vfsItr->module); - } - } - } - } -} |