diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/utilmisc.C | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/lib/utilmisc.C b/src/lib/utilmisc.C index f652e402c..d91af9bc1 100644 --- a/src/lib/utilmisc.C +++ b/src/lib/utilmisc.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2017 */ +/* [+] 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. */ @@ -41,5 +43,18 @@ bool isSimicsRunning() return simics; } +static bool g_isTargetingLoaded = false; + +bool isTargetingLoaded() +{ + return g_isTargetingLoaded; +} + +void setIsTargetingLoaded() +{ + g_isTargetingLoaded = true; +} + + }; |