summaryrefslogtreecommitdiffstats
path: root/src/runtime
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2015-08-19 18:33:05 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-08-25 15:00:04 -0500
commit664897ffe7ac048a96d9eb821f1df24359d4784f (patch)
treeeaf70f7c2eb6763dbcc9c48398a53a9454f6c81e /src/runtime
parentafa921d1c9a2930573761fe34525819c6b3cd898 (diff)
downloadtalos-hostboot-664897ffe7ac048a96d9eb821f1df24359d4784f.tar.gz
talos-hostboot-664897ffe7ac048a96d9eb821f1df24359d4784f.zip
Propagate ATTR_TMP overrides into HBRT
Load ATTR_TMP overrides at host boot runtime RTC: 129055 Change-Id: Id01889b6a1498af05732cee7c797d3e18af10f8d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19951 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/rt_main.C19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C
index f2bfcad6c..2c3b956e7 100644
--- a/src/runtime/rt_main.C
+++ b/src/runtime/rt_main.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -105,6 +107,15 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf)
// Initialize all modules.
vfs_module_init();
+ // TODO RTC 134050 This is the ideal place for initialization calls.
+ // Opal has not initialized pnor or ipmi, so initialization
+ // was moved to attn enable as a short term measure.
+#if 0
+ // apply temp overrides
+ postInitCalls_t* rtPost = getPostInitCalls();
+ rtPost->callApplyTempOverrides();
+#endif
+
// Return our interface pointer structure.
return rtInterfaces;
}
@@ -128,3 +139,9 @@ runtimeInterfaces_t* getRuntimeInterfaces()
{
return &Singleton<runtimeInterfaces_t>::instance();
}
+
+postInitCalls_t* getPostInitCalls()
+{
+ return &Singleton<postInitCalls_t>::instance();
+}
+
OpenPOWER on IntegriCloud