diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2016-10-13 13:59:53 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-11-23 23:14:54 -0500 |
commit | 4d9e06f89702dd907a209b0ce9cb9fa36858d8cd (patch) | |
tree | 8cce47a1c23de9dd67788f732027b3b031e342ce /src/hwpf/include | |
parent | 24f6d36ca47af190b6246d22401805ffd2df7c2a (diff) | |
download | talos-sbe-4d9e06f89702dd907a209b0ce9cb9fa36858d8cd.tar.gz talos-sbe-4d9e06f89702dd907a209b0ce9cb9fa36858d8cd.zip |
Fix some trace problems
This change is in preparation for future, better trace handling.
Bit fields don't have a size_type - so they need a cast to int or uint in a
trace statement.
Pointers are always 4 bytes in PPE.
Pointers cannot be converted to a uint32_t (%x) without an explicit cast.
The printf/trace format %x is 4 bytes, even %016x is 4 bytes. What is
needed is %llx or %016llx otherise a uint64_t will get truncated.
Change-Id: I0b55a355f3211a7f6913e846834486b4808f50c1
RTC: 161851
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31189
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/hwpf/include')
0 files changed, 0 insertions, 0 deletions