Skip to content

Commit 8600a74

Browse files
committed
llext: export symbols, needed by TDFB
Modular TDFB needs additional exported symbols from Zephyr and SOF core. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent fbe3f49 commit 8600a74

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/ipc/ipc-common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ void ipc_msg_send(struct ipc_msg *msg, void *data, bool high_priority)
252252

253253
k_spin_unlock(&ipc->lock, key);
254254
}
255+
EXPORT_SYMBOL(ipc_msg_send);
255256

256257
#ifdef __ZEPHYR__
257258
static void ipc_work_handler(struct k_work *work)

src/math/sqrt_int16.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77
//
88

9+
#include <rtos/symbol.h>
910
#include <sof/math/sqrt.h>
1011

1112
#define SQRT_WRAP_SCHAR_BITS 0xFF
@@ -145,3 +146,4 @@ uint16_t sqrt_int16(uint16_t u)
145146

146147
return y;
147148
}
149+
EXPORT_SYMBOL(sqrt_int16);

src/math/trig.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// Keyon Jie <yang.jie@linux.intel.com>
88
// Shriram Shastry <malladi.sastry@linux.intel.com>
99

10+
#include <rtos/symbol.h>
1011
#include <sof/audio/format.h>
1112
#include <sof/math/trig.h>
1213
#include <sof/math/cordic.h>
@@ -99,6 +100,7 @@ void cordic_approx(int32_t th_rad_fxp, int32_t a_idx, int32_t *sign, int32_t *b_
99100
/* Q2.30 format -sine, cosine*/
100101
*th_cdc_fxp = th_rad_fxp;
101102
}
103+
EXPORT_SYMBOL(cordic_approx);
102104

103105
/**
104106
* CORDIC-based approximation for inverse cosine

0 commit comments

Comments
 (0)