From 63a9aa53dcf3c7ddcff756e694ddcff246b5c9f2 Mon Sep 17 00:00:00 2001 From: Christian Geddes Date: Thu, 8 Nov 2018 11:06:47 -0600 Subject: Define Parent/Child Relationship for OMIC/OMI targets This commit puts in the plumbing to have xmltohb.pl look for ATTR_OMIC_PARENT attributes on the OMI targets and with the value of that attribute define a bi-directional relationship between the given OMI target and its defined OMIC parent. Each target in the binary will have pointers to its associated parent/child. When getChildren or getParent is called in the FAPI2 api for a OMIC or OMI target respectively, then the Hostboot platform implementation of these functions will route to the new getParentOmicTargetsByState and getChildOmiTargetsByState functions that were defined to perform lookups in the targeting binary for this relationship. Change-Id: I8cd901864a700c9fe575dfa0916d5e78760a7b0c RTC: 172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68541 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen Reviewed-by: Nicholas E. Bofferding Reviewed-by: Daniel M. Crowell --- src/usr/targeting/common/xmltohb/attribute_types.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/usr/targeting/common/xmltohb/attribute_types.xml') diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index b42bf793e..18e7b7588 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -5070,6 +5070,20 @@ + + + Physical entity path an OMI's associated OMIC parent target + + OMIC_PARENT + + EntityPath + + non-volatile + + + + + Ordinal ID of a target ORDINAL_ID -- cgit v1.2.1