summaryrefslogtreecommitdiffstats
path: root/src/lib/utilmisc.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utilmisc.C')
-rw-r--r--src/lib/utilmisc.C13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/utilmisc.C b/src/lib/utilmisc.C
index d91af9bc1..36f568d11 100644
--- a/src/lib/utilmisc.C
+++ b/src/lib/utilmisc.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2017 */
+/* Contributors Listed Below - COPYRIGHT 2014,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -55,6 +55,17 @@ void setIsTargetingLoaded()
g_isTargetingLoaded = true;
}
+static bool g_isConsoleStarted = false;
+
+bool isConsoleStarted()
+{
+ return g_isConsoleStarted;
+}
+
+void setIsConsoleStarted()
+{
+ g_isConsoleStarted = true;
+}
};
OpenPOWER on IntegriCloud