diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-02-09 14:37:18 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-10 10:55:03 -0500 |
commit | 298daeba406ef3c72b340f59552c618db7c3ff93 (patch) | |
tree | 64185a888be41a3662c0594b90061ae412a8f70b /src/import/chips/p9/procedures/hwp/memory/lib/utils/checker.H | |
parent | 574d48425f25f2d5c85fbe4c188bc9a195db3a41 (diff) | |
download | talos-hostboot-298daeba406ef3c72b340f59552c618db7c3ff93.tar.gz talos-hostboot-298daeba406ef3c72b340f59552c618db7c3ff93.zip |
Remove enumeration types from FAPI attributes
Enumerated attributes inside of TARGETING are always 4 bytes long.
FAPI attributes can be of arbitrary length, even if enumerations
are specified. This means that we have a size mismatch if we use
an enumerated attribute as the direct map to a fapi attribute.
Instead, we should always use the same basic type that matches
the FAPI attribute, but still declare the enumeration so it can
be used for MRW settings.
Added an explicit failure in xmltohb.pl that will prevent us
from making this mistake again.
Change-Id: Iab855e0e93d2d56922175a1d6cb165eed4d665fa
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36240
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/utils/checker.H')
0 files changed, 0 insertions, 0 deletions