Commit Graph

11 Commits

Author SHA1 Message Date
Kai Vehmanen a31d2a5c3d posix: compiler_attributes: add definition for __maybe_unused
Add __maybe_unused attribute for posix RTOS layer, so this attribute can
be used in common SOF code (it's already supported in Zephyr+XTOS).

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-10-25 13:29:32 +03:00
DINESHKUMAR 3530f3810e zephyr: amd: the lack of native Zephyr driver support for acp_6_0 platform.
In order to avoid  first level interrupt handling from
wrapper.c second level interrupt handling go through interrupt.c
define macros to rename the duplicated functions

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
2024-10-18 14:53:04 +01:00
Seppo Ingalsuo 06aab75c20 Platform: Library: Move mailbox_sw_reg_read64() from posix mailbox.h
Without this change testbench IPC4 build fails with copier with
implicit definition of the function. The mailbox_sw_reg_read64()
function should be there in the same platform library mailbox.h
header as the 32 bit version of similar function. The header
mailbox.h for all Intel platforms is organized similarly.

The argument type is changed to size_t from uint32_t to follow
other similar functions.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2024-10-18 14:33:22 +01:00
Damian Nikodem 213306433f src: dai-zephyr: copy data to all available sinks
In the case where the copier has more than one output and,
additionally, we will be using a pin other than pin 0
(for example, when we want to copy data from pin 1 of
a gateway-type copier to the next pipeline), it is necessary
to copy data in playback path from the source to the output
for all possible active sinks.

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
2024-08-05 10:39:30 +03:00
Serhiy Katsyuba 319978685d pcm_converter: Add channel map parameter
Adds a channel map parameter to conversion functions, allowing for
the introduction of conversions that can handle both format conversion
and channel remapping.

Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
2024-07-17 15:27:41 +03:00
Ranjani Sridharan 3540548b95 src: panic: Modify the signature of __panic()
Make the filename argument be a const char * to avoid the following
warning with c++ compliation:
warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2024-02-16 21:45:27 +02:00
Baofeng Tian ac76b3e136 Trace: move META specific header to posix folder
Move META preproc header file to posix folder.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
2024-01-23 19:43:02 +02:00
Baofeng Tian 13aac8cf66 sof: remove META usage in sof source code
Except for trace file, there is no usage for META in sof
source code, posix and xtos are all aligned with zephyr definiton.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
2024-01-23 19:43:02 +02:00
Guennadi Liakhovetski 12d958a2eb module: export symbols for loadable modules
Export a number of symbols, commonly used by loadable modules.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-01-09 19:01:13 +02:00
Ranjani Sridharan f5ced09a5b posix: idc: Add missing definitions
Add a couple of missing definitions.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2023-11-22 09:41:50 +02:00
Liam Girdwood 2a6d9d3c36 posix: Add posix headers
Add the posix headers for use with the SOF ALSA plugin.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2023-09-14 16:19:15 +01:00