summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/chip_attributes.xml53
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml57
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/scratch_attributes.xml319
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/system_attributes.xml43
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/unit_attributes.xml41
-rwxr-xr-xsrc/import/hwpf/fapi2/xml/error_info/buffer_errors.xml34
6 files changed, 547 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/chip_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/chip_attributes.xml
new file mode 100644
index 000000000..382f93c32
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/attribute_info/chip_attributes.xml
@@ -0,0 +1,53 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/attribute_info/chip_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<attributes>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_NAME</id>
+ <targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP</targetType>
+ <description>
+ Product name of a chip target.
+ Provided by the MRW.
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ NONE = 0x0,
+ CENTAUR = 0x3,
+ NIMBUS = 0x5,
+ CUMULUS = 0x6
+ </enum>
+ <platInit/>
+ <privledged/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_EC</id>
+ <targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP</targetType>
+ <description>
+ EC level of a chip target.
+ Read from the chip by the platform
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ <!-- To make HWPs data driven, this is a privileged attribute that cannot
+ be accessed by normal HWPs. -->
+ <privileged/>
+ </attribute>
+ <!-- ********************************************************************* -->
+</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml
new file mode 100644
index 000000000..0bacf989b
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml
@@ -0,0 +1,57 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/attribute_info/common_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<attributes>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_FUNCTIONAL</id>
+ <targetType>
+ TARGET_TYPE_PROC_CHIP,
+ TARGET_TYPE_CORE, TARGET_TYPE_EX, TARGET_TYPE_EQ,
+ TARGET_TYPE_MCS, TARGET_TYPE_MCA, TARGET_TYPE_MCBIST, TARGET_TYPE_MI, TARGET_TYPE_DMI,
+ TARGET_TYPE_XBUS, TARGET_TYPE_OBUS,
+ TARGET_TYPE_NV,
+ TARGET_TYPE_SBE, TARGET_TYPE_PPE, TARGET_TYPE_PERV,
+ TARGET_TYPE_PEC, TARGET_TYPE_PHB, TARGET_TYPE_CAPP,
+ TARGET_TYPE_MEMBUF_CHIP,
+ TARGET_TYPE_MBA,
+ TARGET_TYPE_DIMM
+ </targetType>
+ <description>
+ 1 if the target is functional, else 0. Set by the platform.
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ NON_FUNCTIONAL = 0x0,
+ FUNCTIONAL = 0x1
+ </enum>
+ <platInit/>
+ </attribute>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_POS</id>
+ <targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP, TARGET_TYPE_DIMM</targetType>
+ <description>
+ Position of chip/dimm within drawer
+ This data is from the MRW.
+ </description>
+ <valueType>uint32</valueType>
+ <platInit/>
+ </attribute>
+ <!-- ******************************************************************************** -->
+</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/scratch_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/scratch_attributes.xml
new file mode 100644
index 000000000..32f36916f
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/attribute_info/scratch_attributes.xml
@@ -0,0 +1,319 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/attribute_info/scratch_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<!--
+ XML file specifying HWPF attributes.
+ These are scratch attributes that can be used by PLAT FW for unit test.
+ They can also be used temporarily by a HWP while waiting for an official
+ attribute to be supported.
+-->
+
+<attributes>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT8_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint8_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint8</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT8_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint8_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint8</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT32_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint32_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint32</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT32_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint32_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint32</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT64_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint64_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint64</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT64_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint64_t attribute
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint64</valueType>
+ <enum>VAL_A = 0, VAL_B = 5, VAL_C = 0xffffffffffffffff</enum>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT8_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint8_t[32] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint8</valueType>
+ <array>32</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT8_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint8_t[2][3][4] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint8</valueType>
+ <array>2 3 4</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT32_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint32_t[8] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint32</valueType>
+ <array>8</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT32_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint32_t[2][3] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint32</valueType>
+ <array>2,3</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT64_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint64_t[4] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint64</valueType>
+ <array>4</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_UINT64_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch uint64_t[2][2] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>uint64</valueType>
+ <array> 2, 2 </array>
+ <enum>VAL_A = 0x0123456789abcdef, VAL_B = 0, VAL_C = 0xffffffffffffffff</enum>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT8_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int8_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int8</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT8_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int8_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int8</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT32_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int32_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int32</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT32_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int32_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int32</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT64_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int64_t attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int64</valueType>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT64_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int64_t attribute
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int64</valueType>
+ <enum>VAL_A = 0, VAL_B = 5, VAL_C = 0xffffffffffffffff</enum>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT8_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int8_t[32] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int8</valueType>
+ <array>32</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT8_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int8_t[2][3][4] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int8</valueType>
+ <array>2 3 4</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT32_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int32_t[8] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int32</valueType>
+ <array>8</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT32_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int32_t[2][3] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int32</valueType>
+ <array>2,3</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT64_ARRAY_1</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int64_t[4] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int64</valueType>
+ <array>4</array>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_SCRATCH_INT64_ARRAY_2</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Scratch int64_t[2][2] attribute.
+ Can be used by HWPs for testing.
+ </description>
+ <valueType>int64</valueType>
+ <array> 2, 2 </array>
+ <enum>VAL_A = 0x0123456789abcdef, VAL_B = 0, VAL_C = 0xffffffffffffffff</enum>
+ <writeable/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_DUMMY_SCRATCH_PLAT_INIT_UINT8</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Dummy platInit uint8[1][3][5] attribute used for testing.
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ <writeable/>
+ <array>1, 3, 5</array>
+ </attribute>
+</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/system_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/system_attributes.xml
new file mode 100644
index 000000000..3fa2ac231
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/attribute_info/system_attributes.xml
@@ -0,0 +1,43 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/attribute_info/system_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<attributes>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_IS_SIMULATION</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>env: 1 = Awan/HWSimulator. 0 = Simics/RealHW.</description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_EXECUTION_PLATFORM</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Which execution platform the HW Procedure is running on
+ Some HWPs (e.g. special wakeup) use different registers for different
+ platforms to avoid arbitration problems when multiple platforms do
+ the same thing concurrently
+ </description>
+ <valueType>uint8</valueType>
+ <enum>HOST = 0x01, FSP = 0x02, OCC = 0x03</enum>
+ <platInit/>
+ </attribute>
+ <!-- ********************************************************************* -->
+</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/unit_attributes.xml b/src/import/hwpf/fapi2/xml/attribute_info/unit_attributes.xml
new file mode 100644
index 000000000..1bb5d02fe
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/attribute_info/unit_attributes.xml
@@ -0,0 +1,41 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/attribute_info/unit_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<attributes>
+ <!-- ******************************************************************************** -->
+ <attribute>
+ <id>ATTR_CHIP_UNIT_POS</id>
+ <targetType>
+ TARGET_TYPE_CORE, TARGET_TYPE_EX, TARGET_TYPE_EQ,
+ TARGET_TYPE_MCS, TARGET_TYPE_MCA, TARGET_TYPE_MCBIST, TARGET_TYPE_MI, TARGET_TYPE_DMI,
+ TARGET_TYPE_XBUS, TARGET_TYPE_OBUS,
+ TARGET_TYPE_NV,
+ TARGET_TYPE_SBE, TARGET_TYPE_PPE, TARGET_TYPE_PERV,
+ TARGET_TYPE_PEC, TARGET_TYPE_PHB, TARGET_TYPE_CAPP,
+ TARGET_TYPE_MEMBUF_CHIP,
+ TARGET_TYPE_MBA
+ </targetType>
+ <description>
+ A unit's position within the chip with respect to similar units.
+ This data is from the MRW.
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ </attribute>
+ <!-- ******************************************************************************** -->
+</attributes>
diff --git a/src/import/hwpf/fapi2/xml/error_info/buffer_errors.xml b/src/import/hwpf/fapi2/xml/error_info/buffer_errors.xml
new file mode 100755
index 000000000..7600e135f
--- /dev/null
+++ b/src/import/hwpf/fapi2/xml/error_info/buffer_errors.xml
@@ -0,0 +1,34 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: hwpf/fapi2/xml/error_info/buffer_errors.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2012,2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+
+<hwpErrors>
+
+ <hwpError>
+ <rc>RC_FAPI2_BUFFER</rc>
+ <description>
+ fapi2 error from a buffer operation
+ </description>
+ <buffer>BUFFER</buffer>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+
+</hwpErrors>
OpenPOWER on IntegriCloud