summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test/rcSupport.H
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2017-05-19 08:38:40 -0500
committerMatthew A. Ploetz <maploetz@us.ibm.com>2017-05-31 16:58:20 -0400
commit266c9cc62e5e7d80e2608f5f7181d2bb4c22a87d (patch)
tree2042267906b8ff7a0b61c9a36feaf0e80a41280b /src/usr/fapi2/test/rcSupport.H
parent588fadffb2749a9d0ab7f5add6fc12cc900683b6 (diff)
downloadtalos-hostboot-266c9cc62e5e7d80e2608f5f7181d2bb4c22a87d.tar.gz
talos-hostboot-266c9cc62e5e7d80e2608f5f7181d2bb4c22a87d.zip
Verify callouts, gard and decofig records
Created a test suite to verify that the callouts, deconfig, and gard records are processed correctly after HWP errors Change-Id: I3ae4b93ec81b237abffa8c72835208a90fffa1f5 RTC:161196 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40809 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/test/rcSupport.H')
-rw-r--r--src/usr/fapi2/test/rcSupport.H28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/usr/fapi2/test/rcSupport.H b/src/usr/fapi2/test/rcSupport.H
index 2cf276669..74867623c 100644
--- a/src/usr/fapi2/test/rcSupport.H
+++ b/src/usr/fapi2/test/rcSupport.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -54,5 +54,31 @@ fapi2::ReturnCode p9_registerFfdc_fail(
//******************************************************************************
fapi2::ReturnCode p9_procedureFfdc_fail(void);
+//******************************************************************************
+// p9_gardAndDeconfig
+// Force a test return code that deconfigures the target and gards it
+//******************************************************************************
+fapi2::ReturnCode p9_gardAndDeconfig(
+ fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_proc_target);
+
+//******************************************************************************
+// p9_deconfigCallout
+// Force a test return code that deconfigures the target
+//******************************************************************************
+fapi2::ReturnCode p9_deconfigCallout(
+ fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_dimm_target);
+
+//******************************************************************************
+// p9_procedureCallout
+// Force a test return code that creates a procedure callout
+//******************************************************************************
+fapi2::ReturnCode p9_procedureCallout();
+
+//******************************************************************************
+// p9_hwCallout
+// Force a test return code that creates a hw callout
+//******************************************************************************
+fapi2::ReturnCode p9_hwCallout(
+ fapi2::Target<fapi2::TARGET_TYPE_CORE>& i_core_target);
#endif
OpenPOWER on IntegriCloud