From c46a0d9db4701cca885329a29adf589da75f0ba7 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 29 Oct 2013 16:50:08 -0500 Subject: Runtime LidMgr. Change-Id: Ib456f3a41d79775a2af027e0bf80e36ce1d49232 RTC: 76679 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6971 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/runtime/makefile | 2 +- src/runtime/rt_task.C | 25 +++++++++++++++++++++++++ src/runtime/rt_vfs.C | 22 ---------------------- 3 files changed, 26 insertions(+), 23 deletions(-) create mode 100644 src/runtime/rt_task.C (limited to 'src/runtime') 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 + +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 #include #include -#include #include #include #include @@ -102,24 +101,3 @@ void* vfs_start_entrypoint(VfsSystemModule * i_module) } return ptr; } - -namespace VFS -{ - void find_test_modules(std::vector & 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); - } - } - } - } -} -- cgit v1.2.1