summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/usr/hdat/hdat.H11
-rw-r--r--src/include/usr/i2c/i2cif.H4
2 files changed, 14 insertions, 1 deletions
diff --git a/src/include/usr/hdat/hdat.H b/src/include/usr/hdat/hdat.H
index 3f151609e..98c9b813d 100755
--- a/src/include/usr/hdat/hdat.H
+++ b/src/include/usr/hdat/hdat.H
@@ -93,6 +93,17 @@ struct hdatHDIFDataArray_t
// (<= hdatAllocSize)
} __attribute__ ((packed));
+/** @brief Type definition for a versioned data array header. Used when internal
+ * data is an array and the array data must be versioned
+ */
+struct hdatHDIFVersionedDataArray_t
+{
+ uint32_t hdatOffset; // 0x0000 Offset to array from this structure
+ uint32_t hdatArrayCnt; // 0x0004 Number of array entries
+ uint32_t hdatAllocSize; // 0x0008 Size of allocated space for array entry
+ uint32_t hdatActSize; // 0x000C Actual size of an array entry
+ uint32_t hdatVersion; // 0x0010 Version of the array instance format
+} __attribute__ ((packed));
/** @brief Type definition for the 5-tuples that the SPIRA uses to address other
* data structures.
diff --git a/src/include/usr/i2c/i2cif.H b/src/include/usr/i2c/i2cif.H
index 9c498d7bc..c0bee8be2 100644
--- a/src/include/usr/i2c/i2cif.H
+++ b/src/include/usr/i2c/i2cif.H
@@ -230,13 +230,15 @@ struct DeviceInfo_t
uint8_t slavePort; //< I2C Slave Port. 0xFF if N/A
uint16_t busFreqKhz; //< Bus speed in KHz
uint8_t devicePurpose; //< Slave device purpose (from enum)
+ TARGETING::ATTR_ORDINAL_ID_type assocNode; //< Upstream node's ordinal ID
+ TARGETING::ATTR_POSITION_type assocProc; //< Upstream proc's position
};
/**
* Retrieve some information about I2C devices that the Host
* needs to know about.
*
- * @param[in] i_i2cMaster I2C master to query, pass in NULL
+ * @param[in] i_i2cMaster I2C master to query, pass in nullptr
* to get a system-wide list
* @param[out] o_deviceInfo list of I2C device structures
*
OpenPOWER on IntegriCloud