@@ -1257,6 +1257,17 @@ int sbe_mpipl_enter(struct pdbg_target *target);
*/
int sbe_mpipl_continue(struct pdbg_target *target);
+/**
+ * @brief Get ti info
+ *
+ * @param[in] target pib target to operate on
+ * @param[out] data TI information
+ * @param[out] data_len length of the data
+ *
+ * @return 0 on success, -1 on failure
+ */
+int sbe_mpipl_get_ti_info(struct pdbg_target *target, uint8_t **data, uint32_t *data_len);
+
/**
* @brief Type for specifying a progress callback for long running
* operations
@@ -345,6 +345,17 @@ int sbe_mpipl_continue(struct pdbg_target *target)
return chipop->mpipl_continue(chipop);
}
+int sbe_mpipl_get_ti_info(struct pdbg_target *target, uint8_t **data, uint32_t *data_len)
+{
+ struct chipop *chipop;
+
+ chipop = pib_to_chipop(target);
+ if (!chipop)
+ return -1;
+
+ return chipop->mpipl_get_ti_info(chipop, data, data_len);
+}
+
uint32_t sbe_ffdc_get(struct pdbg_target *target, const uint8_t **ffdc, uint32_t *ffdc_len)
{
struct chipop *chipop;
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- libpdbg/libpdbg.h | 11 +++++++++++ libpdbg/target.c | 11 +++++++++++ 2 files changed, 22 insertions(+)