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

iadk: Define pass buffer size and return error code from entry point function #9424

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

softwarecki
Copy link
Collaborator

@softwarecki softwarecki commented Aug 30, 2024

Add a definition specifying the size of space reserved in module memory for module handle and a iadk adapter.

Add a brief description of the iadk module loading sequence.

Change the definition of the system_agent_start function so that it returns the error code returned by the module's entry point functions. Return the created IadkModuleAdapter object via a parameter.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just need to add the new macro to the IADK namespace

src/include/module/module/api_ver.h Outdated Show resolved Hide resolved
@softwarecki softwarecki force-pushed the iadk-handle branch 2 times, most recently from f74c888 to c288670 Compare September 10, 2024 15:35
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @softwarecki , especially the module load description is a nice addition!

One question, can you check.

Add a definition specifying the size of space reserved in module memory for
module handle and a iadk adapter.

Add a brief description of the iadk module loading sequence.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Change the definition of the system_agent_start function so that it returns
the error code returned by the module's entry point functions. Return the
created IadkModuleAdapter object via a parameter.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
@kv2019i kv2019i merged commit 15062f0 into thesofproject:main Sep 18, 2024
43 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants