From f991b7d9574aaccb1b00b107ad1de9cd327b15c8 Mon Sep 17 00:00:00 2001 From: Adrian Warecki Date: Wed, 8 Nov 2023 12:18:21 +0100 Subject: [PATCH] module: Extend module error code definitions Ported additional error code definitions from iadk module API. Signed-off-by: Adrian Warecki --- src/include/module/iadk/adsp_error_code.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/include/module/iadk/adsp_error_code.h b/src/include/module/iadk/adsp_error_code.h index e7b820e0e416..4d3382de918a 100644 --- a/src/include/module/iadk/adsp_error_code.h +++ b/src/include/module/iadk/adsp_error_code.h @@ -36,4 +36,25 @@ typedef uint32_t AdspErrorCode; /* Service is not supported on target platform. */ #define ADSP_SERVICE_UNAVAILABLE 143 +/* SystemAgentInterface */ +#define ADSP_MODULE_CREATION_FAILURE 16 + +/* ProcessingModuleFactoryInterface */ + +/* Reports that the given value of Input Buffer Size is invalid */ +#define ADSP_INVALID_IBS 17 +/* Reports that the given value of Output Buffer Size is invalid */ +#define ADSP_INVALID_OBS 18 +/* Reports that the given value of Cycles Per Chunk processing is invalid */ +#define ADSP_INVALID_CPC 19 +/* Reports that the settings provided for module creation are invalid */ +#define ADSP_INVALID_SETTINGS 20 + +/* ProcessingModuleInterface */ +/* Reports that the message content given for configuration is invalid */ +#define ADSP_INVALID_CONFIGURATION 21 + +/* Reports that the module does not support retrieval of its current configuration information */ +#define ADSP_NO_CONFIGURATION 22 + #endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */