From ef9735febd37079a2795b0b265ba38c7839a1481 Mon Sep 17 00:00:00 2001 From: zhongan Date: Sun, 26 Apr 2020 19:14:16 +0800 Subject: [PATCH] arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'. Change-Id: I5442f022cafef6c0f636614ba739e11249713134 Signed-off-by: zhongan --- arch/sim/src/sim/up_rptun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sim/src/sim/up_rptun.c b/arch/sim/src/sim/up_rptun.c index 9bf30a951c..98098b0824 100644 --- a/arch/sim/src/sim/up_rptun.c +++ b/arch/sim/src/sim/up_rptun.c @@ -218,7 +218,8 @@ int up_rptun_init(void) rsc->rpmsg_vring0.num = 8; rsc->rpmsg_vring1.align = 8; rsc->rpmsg_vring1.num = 8; - rsc->buf_size = 0x800; + rsc->config.rxbuf_size = 0x800; + rsc->config.txbuf_size = 0x800; g_dev.shmem->base = (uintptr_t)g_dev.shmem; }