You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/27 01:59:27 UTC

[incubator-nuttx] branch master updated (927cb00 -> ef9735f)

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 927cb00  fix nxstyle warning
     new 4ec8fd5  arch/sim: change 'VIRTIO_RPMSG_F_BIND' to 'VIRTIO_RPMSG_F_ACK'
     new ef9735f  arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/sim/src/sim/up_rptun.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


[incubator-nuttx] 02/02: arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'.

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ef9735febd37079a2795b0b265ba38c7839a1481
Author: zhongan <zh...@xiaomi.com>
AuthorDate: Sun Apr 26 19:14:16 2020 +0800

    arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'.
    
    Change-Id: I5442f022cafef6c0f636614ba739e11249713134
    Signed-off-by: zhongan <zh...@xiaomi.com>
---
 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 9bf30a9..98098b0 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;
     }


[incubator-nuttx] 01/02: arch/sim: change 'VIRTIO_RPMSG_F_BIND' to 'VIRTIO_RPMSG_F_ACK'

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 4ec8fd521f7810e3235bada0466aa9ba3463097d
Author: zhongan <zh...@xiaomi.com>
AuthorDate: Sun Apr 26 17:32:23 2020 +0800

    arch/sim: change 'VIRTIO_RPMSG_F_BIND' to 'VIRTIO_RPMSG_F_ACK'
    
    Change-Id: I4d6b6b700130e264199f490ab4e922f699955113
    Signed-off-by: zhongan <zh...@xiaomi.com>
---
 arch/sim/src/sim/up_rptun.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sim/src/sim/up_rptun.c b/arch/sim/src/sim/up_rptun.c
index 10339c0..9bf30a9 100644
--- a/arch/sim/src/sim/up_rptun.c
+++ b/arch/sim/src/sim/up_rptun.c
@@ -211,7 +211,7 @@ int up_rptun_init(void)
       rsc->rpmsg_vdev.type          = RSC_VDEV;
       rsc->rpmsg_vdev.id            = VIRTIO_ID_RPMSG;
       rsc->rpmsg_vdev.dfeatures     = 1 << VIRTIO_RPMSG_F_NS
-                                    | 1 << VIRTIO_RPMSG_F_BIND
+                                    | 1 << VIRTIO_RPMSG_F_ACK
                                     | 1 << VIRTIO_RPMSG_F_BUFSZ;
       rsc->rpmsg_vdev.num_of_vrings = 2;
       rsc->rpmsg_vring0.align       = 8;