summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2011-09-22 17:42:01 -0500
committerMark W. Wenning <wenning@us.ibm.com>2011-10-20 18:07:04 -0500
commit591bf9abfe58c662a8e81820fdc96b90b85a9b55 (patch)
treee603935f90a1c49d5d8767d535168cd71da56b16 /src/usr/targeting/xmltohb
parent0eb945c47156b32f4028867969b153652baa3ad3 (diff)
downloadtalos-hostboot-591bf9abfe58c662a8e81820fdc96b90b85a9b55.tar.gz
talos-hostboot-591bf9abfe58c662a8e81820fdc96b90b85a9b55.zip
RTC3872: Hardware Availability Service: Add HWAS as first ISTEP
- first commit - change isteplist to call hwas - comment out test isteps - modify xml to add HWAS_STATE attribute - add macros to taskargs - remove debug trace from taskargs - add call to init_fsi - post-review - merge xml files - forgot one printkd Change-Id: Iab3b1f85c401f9a176ed84ddb91263caf25a3d56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/430 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/xmltohb')
-rw-r--r--src/usr/targeting/xmltohb/attribute_types.xml53
-rw-r--r--src/usr/targeting/xmltohb/target_types.xml1
2 files changed, 54 insertions, 0 deletions
diff --git a/src/usr/targeting/xmltohb/attribute_types.xml b/src/usr/targeting/xmltohb/attribute_types.xml
index 7bcc2c840..229d4a399 100644
--- a/src/usr/targeting/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/xmltohb/attribute_types.xml
@@ -768,6 +768,59 @@
<readable/>
</attribute>
+<attribute>
+ <id>HWAS_STATE</id>
+ <description>HardWare Availability Service State Attribute.
+ Keeps track of Target values poweredOn, present, functional,
+ changedSinceLastIPL, and gardLevel</description>
+ <complexType>
+ <description>struct - so far contains 4 booleans and a 4-bit GARD level
+ field</description>
+ <field>
+ <name>poweredOn</name>
+ <description>boolean: Target is powered on, or Not.
+ comes up as powered off.</description>
+ <type>uint8_t</type>
+ <bits>1</bits>
+ <default>0</default>
+ </field>
+ <field>
+ <name>present</name>
+ <description>Target is present in the system.
+ comes up as Not PRESENT. </description>
+ <type>uint8_t</type>
+ <bits>1</bits>
+ <default>0</default>
+ </field>
+ <field>
+ <name>functional</name>
+ <description>Target is Functional.
+ comes up as Not FUNCTIONAL </description>
+ <type>uint8_t</type>
+ <bits>1</bits>
+ <default>0</default>
+ </field>
+ <field>
+ <name>changedSinceLastIPL</name>
+ <description>Target has changed since last IPL.
+ comes up as FALSE. </description>
+ <type>uint8_t</type>
+ <bits>1</bits>
+ <default>0</default>
+ </field>
+ <field>
+ <name>gardLevel</name>
+ <description>GARD Level. This is a 4-bit value.
+ comes up as 0 </description>
+ <type>uint8_t</type>
+ <bits>4</bits>
+ <default>0</default>
+ </field>
+ </complexType>
+ <persistency>volatile</persistency>
+ <readable/>
+</attribute>
+
</attributes>
diff --git a/src/usr/targeting/xmltohb/target_types.xml b/src/usr/targeting/xmltohb/target_types.xml
index 14b624893..9eef64d64 100644
--- a/src/usr/targeting/xmltohb/target_types.xml
+++ b/src/usr/targeting/xmltohb/target_types.xml
@@ -38,6 +38,7 @@
<attribute>
<id>PRIMARY_CAPABILITIES</id>
</attribute>
+ <attribute><id>HWAS_STATE</id></attribute>
</targetType>
<targetType>
OpenPOWER on IntegriCloud