summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/test
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-11-13 15:36:05 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-11-14 15:45:36 -0600
commit073d82a61ee7ce0ec4522c18ce92cd93537025db (patch)
tree382b3db4c6032fb83b2e1c7e9f50eb6c0507fb5b /src/usr/runtime/test
parentf5fc4c94d84ed3a5263d4139cb09179a5722f382 (diff)
downloadtalos-hostboot-073d82a61ee7ce0ec4522c18ce92cd93537025db.tar.gz
talos-hostboot-073d82a61ee7ce0ec4522c18ce92cd93537025db.zip
Expand memory footprint to full 8MB cache.
If fake PNOR isn't being used, we can expand our memory space to the full 8MB cache. There will be follow up work with RTC: 49137 to support 4MB degraded caches for bring-up. Change-Id: I1248efa37965f39ebab62aae556349c34aa24b66 RTC: 47356 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2319 Tested-by: Jenkins Server Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/test')
-rw-r--r--src/usr/runtime/test/runtimeattrstest.H18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/runtime/test/runtimeattrstest.H b/src/usr/runtime/test/runtimeattrstest.H
index 037c779e3..bdf7b430e 100644
--- a/src/usr/runtime/test/runtimeattrstest.H
+++ b/src/usr/runtime/test/runtimeattrstest.H
@@ -77,7 +77,7 @@ class RuntimeTest: public CxxTest::TestSuite
hsvc_attr_header_t* headers = reinterpret_cast<hsvc_attr_header_t*>
((beginning+sysdata->offset));
- //Grab a couple of arbitrary attributes
+ //Grab a couple of arbitrary attributes
ReturnCode l_rc;
fapi::ATTR_FREQ_PB_Type freq = 0;
@@ -161,15 +161,15 @@ class RuntimeTest: public CxxTest::TestSuite
}
//Make sure that the offsets are reasonable
- if( nodedata->procOffset == 0 )
+ if( nodedata->procOffset == 0 )
{
TS_FAIL("testVerifyNodeAttributes> procOffset is invalid");
}
- if( nodedata->exOffset == 0 )
+ if( nodedata->exOffset == 0 )
{
TS_FAIL("testVerifyNodeAttributes> exOffset is invalid");
}
- if( nodedata->procOffset == nodedata->exOffset )
+ if( nodedata->procOffset == nodedata->exOffset )
{
TS_FAIL("testVerifyNodeAttributes> offsets are equal - that is bad");
}
@@ -196,7 +196,7 @@ class RuntimeTest: public CxxTest::TestSuite
fapi::Target* proc = getProcTarget( curproc->procid );
TRACDCOMP( g_trac_runtime, "procid = %d", curproc->procid );
- //Grab a couple of arbitrary attributes
+ //Grab a couple of arbitrary attributes
hsvc_attr_header_t* headers = reinterpret_cast<hsvc_attr_header_t*>
((beginning+curproc->offset));
ReturnCode l_rc;
@@ -292,7 +292,7 @@ class RuntimeTest: public CxxTest::TestSuite
curex->chiplet );
TRACDCOMP( g_trac_runtime, "procid = %d, chiplet = %d", curex->parent_procid, curex->chiplet );
- //Grab a couple of arbitrary attributes
+ //Grab a couple of arbitrary attributes
hsvc_attr_header_t* headers = reinterpret_cast<hsvc_attr_header_t*>
((beginning+curex->offset));
ReturnCode l_rc;
@@ -377,11 +377,11 @@ class RuntimeTest: public CxxTest::TestSuite
//@fixme RTC:49509
hsvc_system_data_t* getSysPtr(void)
{
- return( (hsvc_system_data_t*)(5*MEGABYTE) );
+ return( (hsvc_system_data_t*)(64*MEGABYTE) );
};
hsvc_node_data_t* getNodePtr(void)
{
- return( (hsvc_node_data_t*)(5*MEGABYTE+512*KILOBYTE) );
+ return( (hsvc_node_data_t*)(64*MEGABYTE+512*KILOBYTE) );
};
//utility to fetch a proc target based on a procid
@@ -410,7 +410,7 @@ class RuntimeTest: public CxxTest::TestSuite
TARGETING::Target* proc_target = NULL;
for( size_t p = 0; p < all_procs.size(); p++ )
{
- uint64_t node_id =
+ uint64_t node_id =
all_procs[p]->getAttr<TARGETING::ATTR_FABRIC_NODE_ID>();
uint64_t CHIP_UNIT_POS =
all_procs[p]->getAttr<TARGETING::ATTR_FABRIC_CHIP_ID>();
OpenPOWER on IntegriCloud