summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-08-13 19:51:02 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-16 13:47:12 -0500
commit3afee991ccf79716b952706edfdf128b16154810 (patch)
tree1822259c9915d14842de1c17c028b80fc532fe25 /src/usr/hwpf
parentd268066a67809fa018b840f53163805f583aadcd (diff)
downloadblackbird-hostboot-3afee991ccf79716b952706edfdf128b16154810.tar.gz
blackbird-hostboot-3afee991ccf79716b952706edfdf128b16154810.zip
HWPF: Add fapiSpecialWakeup interface
RTC: 46930 Change-Id: I7bddfeccd78278d96a367a9e5842fa504dedbe30 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1523 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf')
-rw-r--r--src/usr/hwpf/plat/fapiPlatUtil.C59
1 files changed, 37 insertions, 22 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatUtil.C b/src/usr/hwpf/plat/fapiPlatUtil.C
index d5cbbf817..94bd2fc58 100644
--- a/src/usr/hwpf/plat/fapiPlatUtil.C
+++ b/src/usr/hwpf/plat/fapiPlatUtil.C
@@ -1,25 +1,26 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/hwpf/plat/fapiPlatUtil.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// 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 other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG
+ * This is an automatically generated prolog.
+ *
+ * $Source: src/usr/hwpf/plat/fapiPlatUtil.C $
+ *
+ * IBM CONFIDENTIAL
+ *
+ * COPYRIGHT International Business Machines Corp. 2011-2012
+ *
+ * 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 other-
+ * wise divested of its trade secrets, irrespective of what has
+ * been deposited with the U.S. Copyright Office.
+ *
+ * Origin: 30
+ *
+ * IBM_PROLOG_END_TAG
+ */
/**
* @file fapiPlatUtil.C
*
@@ -207,9 +208,23 @@ fapi::ReturnCode fapiUnloadInitFile(const char * i_file, const char *& io_addr,
return l_rc;
}
+//******************************************************************************
+// fapiBreakPoint
+//******************************************************************************
void fapiBreakPoint( uint32_t i_info)
{
INITSERVICE::iStepBreakPoint( i_info );
}
+//******************************************************************************
+// fapiSpecialWakeup
+//******************************************************************************
+fapi::ReturnCode fapiSpecialWakeup(const fapi::Target & i_target,
+ const bool i_enable)
+{
+ // On Hostboot, processor cores cannot sleep so return success to the
+ // fapiSpecialWakeup enable/disable calls
+ return fapi::FAPI_RC_SUCCESS;
+}
+
}
OpenPOWER on IntegriCloud