summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/test/runtimeattrstest.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2012-10-08 14:26:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-11-07 16:03:23 -0600
commitd871f70ebe8e9e91d8dd4b604dfee0303461b9aa (patch)
tree4e4ee913e7177514f5569df07ff51423a15432e3 /src/usr/runtime/test/runtimeattrstest.H
parent90190a610b3452c34eb1e4848f66ad54d22e6a6f (diff)
downloadtalos-hostboot-d871f70ebe8e9e91d8dd4b604dfee0303461b9aa.tar.gz
talos-hostboot-d871f70ebe8e9e91d8dd4b604dfee0303461b9aa.zip
Support for PM Attributes
Adding new HWP attribute xml files and associated Targeting changes to go along with them. The MURANO and VENICE xml files contain default values provided by Greg Still. We are still waiting on the final MRW definition to update the TULETA generation script. Also using this commit to add a few other error xml files for the HostServices procedures. We need this longterm to get the error parsing stuff working. Verified IPL against Murano and Tuleta configs. Depends-On: I3af3b2bf99b4dbedb6efeb2cb35e49ba066a9c19 Change-Id: I3a5be5a7b49c7c6d7e6179f5e28e046a38a12b1e RTC: 42293 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2002 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/test/runtimeattrstest.H')
-rw-r--r--src/usr/runtime/test/runtimeattrstest.H22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/usr/runtime/test/runtimeattrstest.H b/src/usr/runtime/test/runtimeattrstest.H
index e9e508c2e..037c779e3 100644
--- a/src/usr/runtime/test/runtimeattrstest.H
+++ b/src/usr/runtime/test/runtimeattrstest.H
@@ -87,11 +87,11 @@ class RuntimeTest: public CxxTest::TestSuite
TS_FAIL("Error getting fapi::ATTR_FREQ_PB");
}
- fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE_Type crc_gen_enable = 0;
- l_rc = FAPI_ATTR_GET(ATTR_PM_SPIVID_CRC_GEN_ENABLE,NULL,crc_gen_enable);
+ fapi::ATTR_PROC_R_LOADLINE_Type spivid = 0;
+ l_rc = FAPI_ATTR_GET(ATTR_PROC_R_LOADLINE,NULL,spivid);
if( l_rc )
{
- TS_FAIL("Error getting fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE");
+ TS_FAIL("Error getting fapi::ATTR_PROC_R_LOADLINE");
}
uint64_t attr = 0;
@@ -117,23 +117,23 @@ class RuntimeTest: public CxxTest::TestSuite
}
}
}
- else if( headers[attr].id == fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE )
+ else if( headers[attr].id == fapi::ATTR_PROC_R_LOADLINE )
{
if( headers[attr].sizeBytes !=
- sizeof(fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE_Type) )
+ sizeof(fapi::ATTR_PROC_R_LOADLINE_Type) )
{
TRACFCOMP( g_trac_runtime, "size=%.16X", headers[attr].sizeBytes );
- TS_FAIL("Size of fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE data is wrong");
+ TS_FAIL("Size of fapi::ATTR_PROC_R_LOADLINE data is wrong");
}
else
{
- fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE_Type* crc_gen_enable_act =
- reinterpret_cast<fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE_Type*>
+ fapi::ATTR_PROC_R_LOADLINE_Type* spivid_act =
+ reinterpret_cast<fapi::ATTR_PROC_R_LOADLINE_Type*>
(beginning+headers[attr].offset);
- if( *crc_gen_enable_act != crc_gen_enable )
+ if( *spivid_act != spivid )
{
- TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", crc_gen_enable, *crc_gen_enable_act );
- TS_FAIL("fapi::ATTR_PM_SPIVID_CRC_GEN_ENABLE data is wrong");
+ TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", spivid, *spivid_act );
+ TS_FAIL("fapi::ATTR_PROC_R_LOADLINE data is wrong");
}
}
}
OpenPOWER on IntegriCloud