summaryrefslogtreecommitdiffstats
path: root/src/runtime/rt_stdlib.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-11-13 09:32:01 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-12-12 16:27:50 -0600
commit948809ead9262fe86e78e303f3e5d1a19388f7ee (patch)
treef96f47384b95e865c9a324747f687f7cc0ca8d59 /src/runtime/rt_stdlib.C
parent07c9716fcf31ce5352ce412a643071ea89bd2ca1 (diff)
downloadtalos-hostboot-948809ead9262fe86e78e303f3e5d1a19388f7ee.tar.gz
talos-hostboot-948809ead9262fe86e78e303f3e5d1a19388f7ee.zip
IBSCOM Enablement and Error Handling
Enable IBSCOM for Centaur DD2.x chips Add appropriate error handling Flip scom to FSI after IBSCOM fail Enable reconfig loop cleanup Code verified on hardware Change-Id: I394789b900e5779dded78dd5fbcc9b9257e856fb RTC: 69115 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7410 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/runtime/rt_stdlib.C')
-rw-r--r--src/runtime/rt_stdlib.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/rt_stdlib.C b/src/runtime/rt_stdlib.C
index ec92badc6..ba1bc347a 100644
--- a/src/runtime/rt_stdlib.C
+++ b/src/runtime/rt_stdlib.C
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <runtime/interface.h>
#include <string.h>
+#include <sys/time.h>
void* malloc(size_t s)
{
@@ -54,3 +55,8 @@ void* calloc(size_t num, size_t size)
return mem;
}
+
+void nanosleep( uint64_t sec, uint64_t nsec )
+{
+ g_hostInterfaces->sleep(sec,nsec);
+}
OpenPOWER on IntegriCloud