Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zephyr: add Zephyr version of sof/init.h #9592

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions zephyr/include/sof/init.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2016,2024 Intel Corporation.
*/

#ifndef __SOF_INIT_H__
#define __SOF_INIT_H__

/* main firmware entry point - argc and argv not currently used */
#ifndef CONFIG_ARCH_POSIX
int main(int argc, char *argv[]);
#endif

#if CONFIG_MULTICORE

struct sof;

int secondary_core_init(struct sof *sof);

#endif /* CONFIG_MULTICORE */

#endif /* __SOF_INIT_H__ */
Loading