Go to file
Andy Ross 320a93242b ipc4: Handle typing errors in component retrieval
In IPC4, the component ID is entirely under the control of the input
protocol, and as components of multiple types exist in the list, it's
possible for protocol messages to fetch an incorrectly typed object,
leading to crashes at runtime.

Force all usage to go through a get_comp() utility that does type
checking.  There was already a similar utility for the special case of
pipelines (which have a separate ID to query).

Signed-off-by: Andy Ross <andyross@google.com>
2023-05-02 14:08:16 -07:00
.github .github/zephyr: build with the debug overlay and CONFIG_ASSERT 2023-04-25 13:22:41 +03:00
app app: boards: Add new board configuration for i.MX93 2023-04-25 13:04:58 +03:00
doc header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
installer platform: remove support for cAVS 1.8 platforms 2023-03-02 23:02:37 +00:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
rimage@ab0429fdbe rimage: Update rimage revision to ab0429f 2023-04-24 12:03:38 +03:00
scripts scripts/docker-run.sh: run with sudo-cwd.sh 2023-05-02 21:09:11 +03:00
smex header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
src ipc4: Handle typing errors in component retrieval 2023-05-02 14:08:16 -07:00
submanifests Add west.yml configuring zephyr dependencies from sof 2022-08-03 11:43:22 +01:00
test Audio_stream: Add default byte and frame alignment set in init function 2023-04-24 10:09:32 +03:00
third_party/include Updating of GoogleRtcAudioProcessing component to provide a more general behavior 2022-12-09 16:00:16 -08:00
tools Topology2: Add mtl-rt711-l0-rt1316-l23-rt714-l1 support 2023-04-27 10:29:34 +03:00
xtos/include clock: replace per-clock locks with a global one 2023-03-07 13:37:56 +02:00
zephyr zephyr: wrapper: Conditionally call platform_boot_complete() 2023-05-02 12:19:11 +03:00
.gitignore gitignore: ignore testbench test results files 2023-03-30 11:42:42 +01:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt platform: Add Zephyr native_posix-based emulation environment 2022-12-07 17:25:39 +00:00
CODEOWNERS CODEOWNERS: more intel code owners added 2023-02-24 16:08:39 +00:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof Performance: remove perf avg macro and reduce print profiling logs 2022-11-01 10:45:00 +00:00
Kconfig.xtos-build kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +01:00
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
Kconfig.zephyr-log sof: replace log calls with zephyr logging api 2022-04-27 15:05:24 +01:00
LICENCE LICENCE: Add Khronos Group Inc license header 2022-04-12 19:41:27 +03:00
README.md README.md: add link to discord.com/zephyr#sof channel 2022-12-23 11:13:31 +00:00
west.yml zephyr: use system cache API 2023-04-28 10:37:55 +03:00

README.md

Sound Open Firmware

Status

Daily Actions

Gitter chat

#sof channel on discord.com

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details