From 200b0ea74b1afbeca8c26459b2dfd413e849e117 Mon Sep 17 00:00:00 2001 From: "Richard J. Knight" Date: Thu, 7 Apr 2016 14:14:26 -0500 Subject: [PATCH] Procedure crashes when trying to query an EC feature -Updated queryEcFeature to have two parts, base attribute reading is now in a library, while feature checking logic is now in small individual inline functions. Change-Id: I7d41eb80d4a1da853118323fb12dc884054a01da Original-Change-Id: I4c3685d6a85946297af31f7f3da4d918bca88039 RTC:151184 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23025 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Matt K. Light Reviewed-by: Daniel M. Crowell Reviewed-by: Thi N. Tran Reviewed-by: Jennifer A. Stofer --- .../xml/attribute_info/chip_ec_attributes.xml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 src/import/chips/p9/procedures/xml/attribute_info/chip_ec_attributes.xml diff --git a/src/import/chips/p9/procedures/xml/attribute_info/chip_ec_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/chip_ec_attributes.xml new file mode 100644 index 000000000..a3a34090a --- /dev/null +++ b/src/import/chips/p9/procedures/xml/attribute_info/chip_ec_attributes.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ATTR_CHIP_EC_FEATURE_TEST1 + TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP + + Returns if a chip contains the TEST1 feature. True if either: + Centaur EC 10 + Venice EC greater than 30 + + + + ENUM_ATTR_NAME_CENTAUR + + 0x10 + EQUAL + + + + ENUM_ATTR_NAME_CUMULUS + + 0x30 + GREATER_THAN + + + + + + + ATTR_CHIP_EC_FEATURE_TEST2 + TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP + + Returns if a chip contains the TEST2 feature. True if: + Murano EC less than 20 + + + + ENUM_ATTR_NAME_NIMBUS + + 0x20 + LESS_THAN + + + + +