Skip to content

Commit 52b914e

Browse files
committed
audio: place component driver list in user-space accessible partition
Annotate the static comp_driver_list with APP_SYSUSER_BSS so that it is placed in the sysuser memory partition. This makes the component driver registry accessible from user-space threads when CONFIG_SOF_USERSPACE_LL is enabled. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 98dda6f commit 52b914e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audio/component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
LOG_MODULE_REGISTER(component, CONFIG_SOF_LOG_LEVEL);
3838

39-
static SHARED_DATA struct comp_driver_list cd;
39+
static APP_SYSUSER_BSS SHARED_DATA struct comp_driver_list cd;
4040

4141
SOF_DEFINE_REG_UUID(component);
4242

0 commit comments

Comments
 (0)