fix: liteipc max data size too small
use IPC_IO_DATA_MAX from liteipc_adapter.h Signed-off-by: Caoruihong <crh.cao@huawei.com> Change-Id: I94f2dd2ff148e8a03ffb2c7b38ab06a34a2d2827
This commit is contained in:
parent
f85c27de59
commit
4dc421e3de
|
@ -51,7 +51,8 @@
|
|||
|
||||
#define USE_TASKID_AS_HANDLE YES
|
||||
#define USE_MMAP YES
|
||||
#define IPC_MSG_DATA_SZ_MAX 1024
|
||||
#define IPC_IO_DATA_MAX 8192UL
|
||||
#define IPC_MSG_DATA_SZ_MAX (IPC_IO_DATA_MAX * sizeof(SpecialObj) / (sizeof(SpecialObj) + sizeof(size_t)))
|
||||
#define IPC_MSG_OBJECT_NUM_MAX (IPC_MSG_DATA_SZ_MAX / sizeof(SpecialObj))
|
||||
|
||||
#define LITE_IPC_POOL_NAME "liteipc"
|
||||
|
|
Loading…
Reference in New Issue