summaryrefslogtreecommitdiffstats
path: root/src/usr/fsi/test
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-01-08 12:55:18 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-13 12:27:19 -0600
commite660f75a8db5d41967e3e74db2f192f62fdb16f3 (patch)
treeadcf4b73a2248a92d85acbeb094d27c11238cc0e /src/usr/fsi/test
parent0653695de6a1b29a8665dfe3eb708beeafc12f58 (diff)
downloadtalos-hostboot-e660f75a8db5d41967e3e74db2f192f62fdb16f3.tar.gz
talos-hostboot-e660f75a8db5d41967e3e74db2f192f62fdb16f3.zip
BEAM fixes for fsi,runtime
Change-Id: I6d285e9ca357ebbf0c1b0f7118da0f5b727113d3 RTC: 84070 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/7947 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/fsi/test')
-rw-r--r--src/usr/fsi/test/fsiddtest.H64
1 files changed, 1 insertions, 63 deletions
diff --git a/src/usr/fsi/test/fsiddtest.H b/src/usr/fsi/test/fsiddtest.H
index 20f901e5c..c1d1210b7 100644
--- a/src/usr/fsi/test/fsiddtest.H
+++ b/src/usr/fsi/test/fsiddtest.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -48,68 +48,6 @@ class FsiDDTest : public CxxTest::TestSuite
{
public:
/**
- * @brief FSI DD test - Initialization
- * Test FSI Master/Slave Initialization
- */
- void test_init(void)
- {
-#if 0 //istep is calling this now
- TRACFCOMP( g_trac_fsi, "FsiDDTest::test_init> Start" );
- uint64_t fails = 0;
- uint64_t total = 0;
- errlHndl_t l_err = NULL;
-
- total++;
- l_err = FSI::initializeHardware();
- if( l_err )
- {
- fails++;
- TRACFCOMP(g_trac_fsi, "FsiDDTest::test_init> Error from device : RC=%X", l_err->reasonCode() );
- TS_FAIL( "FsiDDTest::test_init> ERROR : Unexpected error log from initMaster" );
- errlCommit(l_err,FSI_COMP_ID);
- }
-
- TRACFCOMP( g_trac_fsi, "FsiDDTest::test_init> %d/%d fails", fails, total );
-#endif
- };
-
-
- //testcode for Simics verification
- void test_blah(void)
- {
-#if 0
- return;
- errlHndl_t l_err = NULL;
- TARGETING::Target* fsi_target = NULL;
-
- // master processor target
- TARGETING::EntityPath epath(TARGETING::EntityPath::PATH_PHYSICAL);
- epath.addLast(TARGETING::TYPE_SYS,0);
- epath.addLast(TARGETING::TYPE_NODE,0);
- epath.addLast(TARGETING::TYPE_PROC,0);
- fsi_target = TARGETING::targetService().toTarget(epath);
-
- uint32_t read_data = 0;
- size_t op_size = sizeof(read_data);
-
- while(1)
- {
- nanosleep( 1, 0 );
- op_size = sizeof(read_data);
- l_err = DeviceFW::deviceRead( fsi_target,
- &read_data,
- op_size,
- DEVICE_FSI_ADDRESS(0x3418) );
- if( l_err )
- {
- TRACFCOMP(g_trac_fsi, "FsiDDTest::test_blah> Error from device : RC=%X", l_err->reasonCode() );
- delete l_err;
- }
- }
-#endif
- };
-
- /**
* @brief FSI DD test - Read/Write
* Perform basic read/write operations
*/
OpenPOWER on IntegriCloud