-
Notifications
You must be signed in to change notification settings - Fork 50
Clean headers #257
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
base: development
Are you sure you want to change the base?
Clean headers #257
Conversation
Add GDSP-related libraries to lib_LTLIBRARIES, they were missed in the original commit. Fixes: 1ee463d ("Add changes to support GPDSPs offloading") Signed-off-by: Dmitry Baryshkov <[email protected]>
Stop declaring non-API functions in a fastrpc_notif.h Signed-off-by: Dmitry Baryshkov <[email protected]>
The dspqueue_sahred.h header is only used by dspqueue_cpu.c. Inline header contents into the corresponding file. Signed-off-by: Dmitry Baryshkov <[email protected]>
In order to prevent extra confusion (and in preparation to integtating QAIC into the build process in future) move all QAIC-generated files to a separate location. Signed-off-by: Dmitry Baryshkov <[email protected]>
|
Why is the code being built with the compiler from 2019? The |
Extract local API into a BSD-licensed copy of the upstream misc/fastrpc.h header. Signed-off-by: Dmitry Baryshkov <[email protected]>
Drop several headers (and source files) which are not longer user by anything. Signed-off-by: Dmitry Baryshkov <[email protected]>
Clean the API of fastrpc_ioctl.h header, dropping unused (or useless) defines. Signed-off-by: Dmitry Baryshkov <[email protected]>
Srinivas-Kandagatla
left a comment
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.
lgtm
| libsdsp_default_listener_la_LDFLAGS = libsdsprpc.la -shared -module $(USE_LOG) -version-number @LT_VERSION_NUMBER@ | ||
| libsdsp_default_listener_la_CFLAGS = $(SDSP_CFLAGS) -DUSE_SYSLOG | ||
|
|
||
| GDSP_CFLAGS = $(LIBDSPRPC_CFLAGS) -DDEFAULT_DOMAIN_ID=5 |
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.
libgdsprpc was actually intended to not be added as we are sticking with multidomain-only approach for gdsp. Here domain is always passed explicitly and no need to rely on library to extract domain information. So we can basically reuse any existing library and just pass the domain name to make it work. (example: ./gdsprpcd rootpd gdsp0)
I think it would be better to remove libgdsprpc_la* and libgdsp_default_listener* completely and just build gdsprpcd.
Following the discussion in #253 , reorg headers and source files a bit.