msm: adsprpc: Share initial debug config to DSP
This change enables sharing of a new page to DSP. New page will contain inital debug parameters which we need to pass to the DSP during the process initiation. Change-Id: I8ae12cb364811a97eca3f15e70106b36bcec3f54 Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
cb7a1b4f73
當前提交
264671ac79
16
dsp/adsprpc_shared.h
一般檔案 → 可執行檔
16
dsp/adsprpc_shared.h
一般檔案 → 可執行檔
@@ -202,6 +202,15 @@ struct remote_buf {
|
||||
size_t len; /* length of buffer */
|
||||
};
|
||||
|
||||
/* structure to hold fd and size of buffer shared with DSP,
|
||||
* which contains inital debug parameters that needs to be passed
|
||||
* during process initialization.
|
||||
*/
|
||||
struct fastrpc_proc_sharedbuf_info {
|
||||
int buf_fd;
|
||||
int buf_size;
|
||||
};
|
||||
|
||||
struct remote_dma_handle {
|
||||
int fd;
|
||||
uint32_t offset;
|
||||
@@ -299,6 +308,7 @@ enum fastrpc_invoke2_type {
|
||||
FASTRPC_INVOKE2_ASYNC_RESPONSE = 2,
|
||||
FASTRPC_INVOKE2_KERNEL_OPTIMIZATIONS,
|
||||
FASTRPC_INVOKE2_STATUS_NOTIF,
|
||||
FASTRPC_INVOKE2_PROC_SHAREDBUF_INFO,
|
||||
};
|
||||
|
||||
struct fastrpc_ioctl_invoke2 {
|
||||
@@ -1116,6 +1126,12 @@ struct fastrpc_file {
|
||||
bool exit_notif;
|
||||
/* Flag to indicate async thread exit requested*/
|
||||
bool exit_async;
|
||||
/*
|
||||
* structure to hold fd and size of buffer shared with DSP,
|
||||
* which contains initial debug configurations and other initial
|
||||
* config paramters.
|
||||
*/
|
||||
struct fastrpc_proc_sharedbuf_info sharedbuf_info;
|
||||
};
|
||||
|
||||
union fastrpc_ioctl_param {
|
||||
|
新增問題並參考
封鎖使用者