summaryrefslogtreecommitdiffstats
path: root/src/usr/testcore
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2016-04-19 16:24:25 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-25 16:02:30 -0400
commitb24c53c78faff4a6ef41232d1ae742d28045e354 (patch)
tree0ced340c2ab7bd3e4a4dd7ae79b1b210a09d42c3 /src/usr/testcore
parent9624de19f81da674e87a9fbc697f98fbcf43fb9d (diff)
downloadtalos-hostboot-b24c53c78faff4a6ef41232d1ae742d28045e354.tar.gz
talos-hostboot-b24c53c78faff4a6ef41232d1ae742d28045e354.zip
Build FAPI2 into HBRT image
Change-Id: I3567d4d534a26edd33810f6b3a5c033507ffc119 RTC:145237 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23441 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/testcore')
-rw-r--r--src/usr/testcore/rtloader/loader.H20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/usr/testcore/rtloader/loader.H b/src/usr/testcore/rtloader/loader.H
index aec064494..006647811 100644
--- a/src/usr/testcore/rtloader/loader.H
+++ b/src/usr/testcore/rtloader/loader.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -212,6 +212,15 @@ class RuntimeLoaderTest : public CxxTest::TestSuite
*data64 = 0;
}
+ // Fail on these addresses
+ // On real HW they would cause an error
+ // The test that sends these expects an error
+ if( addr == 0x11223344 ||
+ addr == 0x22334455 )
+ {
+ rc = 1;
+ }
+
return rc;
}
@@ -231,6 +240,15 @@ class RuntimeLoaderTest : public CxxTest::TestSuite
SCOM_KEY scomKey(chipid,addr);
cv_scomMap[scomKey] = *data64;
+ // Fail on these addresses
+ // On real HW they would cause an error
+ // The test that sends these expects an error
+ if( addr == 0x11223344 ||
+ addr == 0x22334455 )
+ {
+ rc = 1;
+ }
+
return rc;
}
OpenPOWER on IntegriCloud