-
Notifications
You must be signed in to change notification settings - Fork 318
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
loading module: fix native module interface register #8750
loading module: fix native module interface register #8750
Conversation
d07f11b
to
17aefdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pjdobrowolski looks like an optimization only in this PR ? Sorry, not following what the change is from current code in the commit message,
That is not an optimalization but bugfix. Currently native loadable modules don't register theirs API. |
oh, ok - a bug fix then. Best to spell that out in the commit as it was not clear for me this was fixing an issue. Thanks ! |
This comment was marked as resolved.
This comment was marked as resolved.
17aefdf
to
9701889
Compare
Ok, you're right. Changed title and commit name. |
@pjdobrowolski not sure if CI build error is related ?
|
Failures to compile with the Zephyr main branch are known and unrelated:
They're caused by backwards-incompatible change: |
cb75b1e
to
af9b0df
Compare
2bacbbd
to
5c662d9
Compare
In SOF we have a two type loadable modules, IADK and native whose are sharing the same registering mechanism but for C++/C needs IADK is using adapter which translates methods for SOF needs. Native loadable module is not using any additional adapters and returns pointer for API used in built-in modules and loadable. Signed-off-by: Dobrowolski, PawelX <pawelx.dobrowolski@intel.com>
5c662d9
to
10bd76f
Compare
In SOF we have a two type loadable modules, IADK and native whose are sharing the same registering mechanism but for C++/C needs IADK is using adapter which translates methods for SOF needs.
Native loadable module is not using any additional adapters and returns pointer for API used in built-in modules and loadable.