summaryrefslogtreecommitdiffstats
path: root/src/runtime
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-10-29 16:50:08 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-07 14:58:22 -0600
commitc46a0d9db4701cca885329a29adf589da75f0ba7 (patch)
tree06acb104a582182de2c0093d1eb04310df7a735f /src/runtime
parent61716e5c9f9ffd3acc5169688739d223c0344a93 (diff)
downloadtalos-hostboot-c46a0d9db4701cca885329a29adf589da75f0ba7.tar.gz
talos-hostboot-c46a0d9db4701cca885329a29adf589da75f0ba7.zip
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 <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/makefile2
-rw-r--r--src/runtime/rt_task.C25
-rw-r--r--src/runtime/rt_vfs.C22
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);
- }
- }
- }
- }
-}
OpenPOWER on IntegriCloud