diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2017-08-30 10:31:20 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-01 10:45:21 -0400 |
commit | 29bb14cf67575d342706ecc1fb9074c613cae7b4 (patch) | |
tree | 6a8560eb3e4dd37d977b3535f6c1b7e00cf2f728 /src/usr/fapi2 | |
parent | 3d4caf24f7e90f183f93cbcb915470f7205bb7f4 (diff) | |
download | talos-hostboot-29bb14cf67575d342706ecc1fb9074c613cae7b4.tar.gz talos-hostboot-29bb14cf67575d342706ecc1fb9074c613cae7b4.zip |
Fix bug in single Target/ATTR debug tool
Current code will terminate Hostboot with bad
memory access, this corrects the mistake
Change-Id: I8216cf4e6bda5df4fde5523f4b0ef471120152ce
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45385
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2')
-rw-r--r-- | src/usr/fapi2/plat_attr_override_sync.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/plat_attr_override_sync.C b/src/usr/fapi2/plat_attr_override_sync.C index 8eb2a1229..e978dbb39 100644 --- a/src/usr/fapi2/plat_attr_override_sync.C +++ b/src/usr/fapi2/plat_attr_override_sync.C @@ -939,7 +939,7 @@ void AttrOverrideSync::dynAttrGet() VMM_DEBUG_COMM_SIZE); uint32_t * l_targInfo = - reinterpret_cast<uint32_t*>(VMM_VADDR_DEBUG_COMM); + reinterpret_cast<uint32_t*>(l_vaddr); FAPI_INF("init: processing dynamic ATTR get"); triggerAttrSync(static_cast<fapi2::TargetType>( |