llext: add a new module type

We need to be able to distinguish LLEXT loadable dynamically linkable
modules at run-time. Add a new type for them. Compatibility is
preserved.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2024-01-19 12:58:50 +01:00 committed by Kai Vehmanen
parent 88793e3288
commit ab29f8db82
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
/* module type load type */ /* module type load type */
#define SOF_MAN_MOD_TYPE_BUILTIN 0 #define SOF_MAN_MOD_TYPE_BUILTIN 0
#define SOF_MAN_MOD_TYPE_MODULE 1 #define SOF_MAN_MOD_TYPE_MODULE 1
#define SOF_MAN_MOD_TYPE_LLEXT 2
/* module init config */ /* module init config */
#define SOF_MAN_MOD_INIT_CONFIG_BASE_CFG 0 /* Base config only */ #define SOF_MAN_MOD_INIT_CONFIG_BASE_CFG 0 /* Base config only */