diff options
author | Thi Tran <thi@us.ibm.com> | 2013-10-02 10:31:04 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-04 15:40:34 -0500 |
commit | 8cddf17c6fdc5810f7cf244012afe19a7bcbd77d (patch) | |
tree | 8c7495fd83697e5d2f9f7fdac70b8b51b93f3fc2 /src/usr/runtime/test | |
parent | f67e73208f2e6db20b35efaedaf15a4d669c2869 (diff) | |
download | talos-hostboot-8cddf17c6fdc5810f7cf244012afe19a7bcbd77d.tar.gz talos-hostboot-8cddf17c6fdc5810f7cf244012afe19a7bcbd77d.zip |
INITPROC: Hostboot - from defect SW224356 - PSTATE procedures
Change-Id: I5358dab2f24f26054fb004ff980c9fe4638cff6c
CMVC-Coreq:896229
CQ:SW224356
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6446
Tested-by: Jenkins Server
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.H | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr/runtime/test/runtimeattrstest.H b/src/usr/runtime/test/runtimeattrstest.H index 5fedfe42c..691a5a73c 100644 --- a/src/usr/runtime/test/runtimeattrstest.H +++ b/src/usr/runtime/test/runtimeattrstest.H @@ -88,11 +88,11 @@ class RuntimeAttrsTest: public CxxTest::TestSuite } bool freq_found = false; - fapi::ATTR_PROC_R_LOADLINE_Type loadline = 0; - l_rc = FAPI_ATTR_GET(ATTR_PROC_R_LOADLINE,NULL,loadline); + fapi::ATTR_PROC_R_LOADLINE_VDD_Type loadline = 0; + l_rc = FAPI_ATTR_GET(ATTR_PROC_R_LOADLINE_VDD,NULL,loadline); if( l_rc ) { - TS_FAIL("Error getting fapi::ATTR_PROC_R_LOADLINE"); + TS_FAIL("Error getting fapi::ATTR_PROC_R_LOADLINE_VDD"); } bool loadline_found = false; @@ -120,24 +120,24 @@ class RuntimeAttrsTest: public CxxTest::TestSuite } } } - else if( headers[attr].id == fapi::ATTR_PROC_R_LOADLINE ) + else if( headers[attr].id == fapi::ATTR_PROC_R_LOADLINE_VDD ) { loadline_found = true; if( headers[attr].sizeBytes != - sizeof(fapi::ATTR_PROC_R_LOADLINE_Type) ) + sizeof(fapi::ATTR_PROC_R_LOADLINE_VDD_Type) ) { TRACFCOMP( g_trac_runtime, "size=%.16X", headers[attr].sizeBytes ); - TS_FAIL("Size of fapi::ATTR_PROC_R_LOADLINE data is wrong"); + TS_FAIL("Size of fapi::ATTR_PROC_R_LOADLINE_VDD data is wrong"); } else { - fapi::ATTR_PROC_R_LOADLINE_Type* loadline_act = - reinterpret_cast<fapi::ATTR_PROC_R_LOADLINE_Type*> + fapi::ATTR_PROC_R_LOADLINE_VDD_Type* loadline_act = + reinterpret_cast<fapi::ATTR_PROC_R_LOADLINE_VDD_Type*> (beginning+headers[attr].offset); if( *loadline_act != loadline ) { TRACFCOMP( g_trac_runtime, "Expected=%X, Actual=%X", loadline, *loadline_act ); - TS_FAIL("fapi::ATTR_PROC_R_LOADLINE data is wrong"); + TS_FAIL("fapi::ATTR_PROC_R_LOADLINE_VDD data is wrong"); } } } @@ -156,7 +156,7 @@ class RuntimeAttrsTest: public CxxTest::TestSuite } if( !loadline_found ) { - TS_FAIL("Never found ATTR_PROC_R_LOADLINE in system attributes"); + TS_FAIL("Never found ATTR_PROC_R_LOADLINE_VDD in system attributes"); } TRACFCOMP( g_trac_runtime, "testVerifySystemAttributes> finish" ); |