Signed-off-by: Mike Leach mike.leach@linaro.org --- decoder/include/ocsd_if_types.h | 1 + decoder/source/ocsd_error.cpp | 1 + 2 files changed, 2 insertions(+)
diff --git a/decoder/include/ocsd_if_types.h b/decoder/include/ocsd_if_types.h index 43df2ae..0488010 100644 --- a/decoder/include/ocsd_if_types.h +++ b/decoder/include/ocsd_if_types.h @@ -118,6 +118,7 @@ typedef enum _ocsd_err_t { OCSD_ERR_BAD_DECODE_PKT, /**< reserved or unknown packet in decoder. */ OCSD_ERR_COMMIT_PKT_OVERRUN, /**< overrun in commit packet stack - tried to commit more than available */ OCSD_ERR_MEM_NACC, /**< unable to access required memory address */ + OCSD_ERR_RET_STACK_OVERFLOW, /**< internal return stack overflow checks failed - popped more than we pushed. */ /* decode tree errors */ OCSD_ERR_DCDT_NO_FORMATTER, /**< No formatter in use - operation not valid. */ /* target memory access errors */ diff --git a/decoder/source/ocsd_error.cpp b/decoder/source/ocsd_error.cpp index a731ae1..cd417a2 100644 --- a/decoder/source/ocsd_error.cpp +++ b/decoder/source/ocsd_error.cpp @@ -72,6 +72,7 @@ static const char *s_errorCodeDescs[][2] = { {"OCSD_ERR_BAD_DECODE_PKT","Reserved or unknown packet in decoder."}, {"OCSD_ERR_COMMIT_PKT_OVERRUN","Overrun in commit packet stack - tried to commit more than available"}, {"OCSD_ERR_MEM_NACC","Unable to access required memory address."}, + {"OCSD_ERR_RET_STACK_OVERFLOW","Internal return stack overflow checks failed - popped more than we pushed."}, /* decode tree errors */ {"OCSD_ERR_DCDT_NO_FORMATTER","No formatter in use - operation not valid."}, /* target memory access errors */