Skip to content

Commit f64bfb1

Browse files
committed
ext_man: Add information about runtime memory scan possibility
This component is conditionally compiled, so passing such an information to driver, allows to check possible scanning failure reason. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
1 parent 2e7e5c1 commit f64bfb1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/include/kernel/ext_manifest.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ enum ext_man_elem_type {
5858
/* EXT_MAN_ELEM_CONFIG_DATA elements identificators */
5959
enum config_elem_type {
6060
EXT_MAN_CONFIG_IPC_MSG_SIZE = 1,
61+
EXT_MAN_CONFIG_MEMORY_USAGE_SCAN = 2, /**< ABI3.18 */
6162
EXT_MAN_CONFIG_LAST_ELEM, /**< keep it at the end of enum list */
6263
};
6364

src/init/ext_manifest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,6 @@ const struct ext_man_config_data ext_man_config
9292
EXT_MAN_ALIGN),
9393
.elems = {
9494
{EXT_MAN_CONFIG_IPC_MSG_SIZE, SOF_IPC_MSG_MAX_SIZE},
95+
{EXT_MAN_CONFIG_MEMORY_USAGE_SCAN, IS_ENABLED(CONFIG_DEBUG_MEMORY_USAGE_SCAN)},
9596
},
9697
};

0 commit comments

Comments
 (0)