Oopenvela-robotrpmsg: Increase RPMSG_ADR_SMP_SIZE to avoid bitmap overflow
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
rpmsg: Increase RPMSG_ADR_SMP_SIZE to avoid bitmap overflow bitmap = {4294967295, 4294967295, 4294967295, 4294967295}, bitnext = 1 rpmsg-rtc 1024 1024 ... s:512:bef 1024 1158 Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com> | 3 个月前 | |
lib:Fix atomic_flag error for clang compilation Change atomic_int to atomic_flag to solve the error reported when compiling with clang. Signed-off-by: Yunfei Li <liyunfei33@huawei.com> | 3 个月前 | |
lib/remoteproc: Don't need to check vdev->notifyid and vring->notifyid vdev->notifid may be equal to vring->notifyid because https://gerrit.pt.mioffice.cn/c/vela/nuttx/openamp/open-amp/+/6522276 Signed-off-by: yintao <yintao@xiaomi.com> | 3 个月前 | |
rpmsg: Assert if addr bitmap full Signed-off-by: yintao <yintao@xiaomi.com> | 3 个月前 | |
lib: rpmsg_rpc: fix compilation warning and bad API Fix following warning by updating bad rpc_id parameter type in the rpmsg_rpc_client_send() API. Align the rpc_id type to the one used in rpmsg_rpc_server_send(). /github/workspace/lib/service/rpmsg/rpc/rpmsg_rpc_client.c:60:9: error: ‘memcpy’ reading 8 bytes from a region of size 4 [-Werror=stringop-overread] 1286 60 | memcpy(tmpbuf, &rpc_id, MAX_FUNC_ID_LEN); 1287 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1288 /github/workspace/lib/service/rpmsg/rpc/rpmsg_rpc_client.c:51:40: note: source object ‘rpc_id’ of size 4 1289 51 | unsigned int rpc_id, void *request_param, 1290 | ~~~~~~~~~~~~~^~~~~~ Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 3 个月前 | |
lib/utils/utilities.c: fix the coverity issue HIS_metric_violation Should only keep one return in one function Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
lib/virtio/virtqueue.c: fix the coverity issue about virtqueue_nused/navail virtqueue_navail() and virtqueue_nused() should return uint16_t to make all the type at all used places be matched. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
virtio_mmio: Statically allocate metal_io_regions Make the metal_io_region for cfg_io and shm_io into full member structs instead of just pointers. This means they will be allocated along with the parent virtio_mmio_device struct and not need dynamically allocated later. Signed-off-by: Andrew Davis <afd@ti.com> | 3 个月前 | |
lib: utils: implement internal safe_strcpy function The strlcpy() function has only recently become available in glibc. While this function prevents destination buffer overflow, it seems that it cannot guarantee read access only within the source buffer. this is for instance the case if the source string is not terminated by a'\0' character. Implement a safe_strcpy to ensure that no access is done out of the source and destination buffer ranges. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 3 个月前 | |
version: use generated version_def.h Using command line to define the OPENAMP_VERSION string macro breaks Cygwin build on some releases of Microsoft Windows and CMake. Remove all OPENAMP_VERSION macros from cmake compiler flags and use the ones from the generated version_def.h file. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com> | 3 个月前 | |
version: add generated define for version For memory footprint reason it can be useful for applications to use defines during the build pre-processing step. Add a generated version_def.h file that will be accessible in the the install directory ./build/bin/usr/local/include/openamp/. Application will be able to use the version.h or the version_def.h depending on its need. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 3 个月前 |