From 58d8df755f35893ccd36093aea6c24b987a9ae65 Mon Sep 17 00:00:00 2001 From: Jaroslaw Stelter Date: Thu, 30 Nov 2023 14:56:20 +0100 Subject: [PATCH] Update manifest module type with ref FW state The reference FW added some new definitions to manifest man_module_type structure. The SOF version must be updated to synchronize with reference FW definitions. Added fields: - domain_rtos - indicates whether a module can be executed in RTOS scheduling domain; - core_type - LX7 HiFi4, Fusion etc. - user_mode - module executed in non-priviledged mode - large_param - IPC supports parameters above 4kB - stack_on_bss - allocate DP task stack in module bss section Signed-off-by: Jaroslaw Stelter --- tools/rimage/src/include/rimage/sof/user/manifest.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/rimage/src/include/rimage/sof/user/manifest.h b/tools/rimage/src/include/rimage/sof/user/manifest.h index 773ed11f6433..9abae6894901 100644 --- a/tools/rimage/src/include/rimage/sof/user/manifest.h +++ b/tools/rimage/src/include/rimage/sof/user/manifest.h @@ -42,7 +42,16 @@ struct sof_man_module_type { uint32_t domain_dp:1; uint32_t lib_code:1; uint32_t init_config:4; /* SOF_MAN_MOD_INIT_CONFIG_ */ - uint32_t rsvd_:20; + /* The init_config field overlaps with the following fields, so core_type was trimmed to + * ensure proper placement of remaining fields. + * uint32_t domain_rtos:1; + * uint32_t core_type:8; + */ + uint32_t core_type:5; + uint32_t user_mode:1; + uint32_t large_param:1; + uint32_t stack_on_bss:1; + uint32_t rsvd_:12; }; /* segment flags.type */