Branch: refs/heads/master Home: https://github.com/OpenAMP/libmetal Commit: 4081b0d562380b635f6e1436bd8e57cea6b3a792 https://github.com/OpenAMP/libmetal/commit/4081b0d562380b635f6e1436bd8e57cea... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M lib/system/generic/io.c
Log Message: ----------- io: fix IAR compile error due to 'void *' variable
Fix EWARM compilation error due to void pointer usage.
Signed-off-by: Haithem Rahmani haithem.rahmani@st.com Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: 07c523bdd2cde8914119727ca153030baa073ce7 https://github.com/OpenAMP/libmetal/commit/07c523bdd2cde8914119727ca153030ba... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M lib/processor/arm/atomic.h
Log Message: ----------- atomic: fix typo in the header file comments
Replace GCC by Arm.
Signed-off-by: Haithem Rahmani haithem.rahmani@st.com Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: bbf692005c90ec3668325d78cdf1e0f857191d0e https://github.com/OpenAMP/libmetal/commit/bbf692005c90ec3668325d78cdf1e0f85... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M lib/system/generic/condition.h M lib/system/generic/sys.h
Log Message: ----------- generic: fix compilation error when compiling using IAR
Includes are not found by the IAR. As they seems unused, just suppress them.
Signed-off-by: Haithem Rahmani haithem.rahmani@st.com Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: 11bb1ac46d1b1dd0c0cf1748c4b52d93f1ac15e2 https://github.com/OpenAMP/libmetal/commit/11bb1ac46d1b1dd0c0cf1748c4b52d93f... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M lib/CMakeLists.txt M lib/compiler/iar/CMakeLists.txt A lib/compiler/iar/errno.h A lib/errno.h
Log Message: ----------- compiler: Add specific errno.h file for EWARM compilation
Error values use in the library are not POSIX. Unlike the GNU gcc,the EWARM toolchain doesn't support error such as EINVAL. To ensure coherency in error management we have to ensure that library and application use the same errno. Currently an "errno.h" is provided at application level which makes GCC work correctly, but this is not the case for the IAR. the added list is based on FreeBSD errno.h.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: bf57c47cd5c74e968a452326550ef88b5c322f01 https://github.com/OpenAMP/libmetal/commit/bf57c47cd5c74e968a452326550ef88b5... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M lib/device.c M lib/dma.c M lib/io.c M lib/irq.c M lib/shmem.c M lib/softirq.c M lib/system/freertos/irq.c M lib/system/freertos/xlnx_common/irq.c M lib/system/generic/condition.h M lib/system/generic/irq.c M lib/system/generic/sys.h M lib/system/generic/xlnx_common/irq.c M lib/system/linux/condition.h M lib/system/linux/sys.h M lib/system/nuttx/irq.c M lib/system/zephyr/condition.h M lib/system/zephyr/irq.c
Log Message: ----------- lib: include metal/errno instead of errno.h
include metal/errno to better support non GCC compilers.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: 75e36524f62aba7fbd167ea23dbd18fbf0a9f6ac https://github.com/OpenAMP/libmetal/commit/75e36524f62aba7fbd167ea23dbd18fbf... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths: M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/common.h M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/common.h M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_latency_demo.c M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_shmem_demo.c M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_atomic_demo.c M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_demo.c M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_latency_demo.c M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_throughput_demo.c M test/metal-test.c M test/system/freertos/alloc.c M test/system/freertos/atomic.c M test/system/freertos/irq.c M test/system/freertos/sleep.c M test/system/freertos/threads.c M test/system/generic/irq.c M test/system/linux/irq.c
Log Message: ----------- Update exemple and tests to include metal/errno.h
Modify all the libmetal exemples and tests file to include <metal/errno.h> instead of <errno.h>
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Compare: https://github.com/OpenAMP/libmetal/compare/6e81fb67c76b...75e36524f62a