gpr: Zephyr: Add platform wrapper for datalink layer.#52
Open
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
Open
gpr: Zephyr: Add platform wrapper for datalink layer.#52quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
Conversation
quic-aditrath
commented
Jan 29, 2026
| */ | ||
| #include "ar_msg.h" | ||
| #include "gpr_api_i.h" | ||
| #include "gpr_lx.h" |
Contributor
Author
There was a problem hiding this comment.
Uses Linux data link API file.
Contributor
Author
There was a problem hiding this comment.
Updated to use gpr_zephyr.h header file instead of gpr_lx.h
quic-plai
reviewed
Feb 1, 2026
| memset(&gpr_lx_ipc_dl_table[0], 0, (sizeof(struct ipc_dl_v2_t) * GPR_PL_NUM_TOTAL_DOMAINS_V)); | ||
|
|
||
| gpr_lx_ipc_dl_table[num_domains].domain_id = GPR_IDS_DOMAIN_ID_APPS_V; | ||
| gpr_lx_ipc_dl_table[num_domains].init_fn = ipc_dl_lx_init; |
Contributor
There was a problem hiding this comment.
Why are we using ipc_dl_lx_init function? Wouldn't there be openamp datalink implementation?
Contributor
Author
There was a problem hiding this comment.
Updated to use zephyr based implementation from #59
ipc_dl_zephyr_init() and ipc_dl_zephyr_deinit()
Implement platform wrapper for GPR datalink layer for Zephyr. Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
1445b87 to
ba29617
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement platform wrapper for GPR datalink layer for Zephyr.