Skip to content

gpr: Zephyr: Add platform wrapper for datalink layer.#52

Open
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath:gpr_zephyr_platform_wrapper
Open

gpr: Zephyr: Add platform wrapper for datalink layer.#52
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath:gpr_zephyr_platform_wrapper

Conversation

@quic-aditrath
Copy link
Contributor

Implement platform wrapper for GPR datalink layer for Zephyr.

@quic-aditrath quic-aditrath requested review from a team January 29, 2026 15:57
*/
#include "ar_msg.h"
#include "gpr_api_i.h"
#include "gpr_lx.h"
Copy link
Contributor Author

@quic-aditrath quic-aditrath Jan 29, 2026

Choose a reason for hiding this comment

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

Uses Linux data link API file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to use gpr_zephyr.h header file instead of gpr_lx.h

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;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we using ipc_dl_lx_init function? Wouldn't there be openamp datalink implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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>
@quic-aditrath quic-aditrath force-pushed the gpr_zephyr_platform_wrapper branch from 1445b87 to ba29617 Compare February 9, 2026 15:03
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.

2 participants