Commit Graph

14 Commits

Author SHA1 Message Date
Luz Paz
210b9ec37a Fix various typos
Found via `codespell -q 3 -S ./scripts/spelling.txt`

Signed-off-by: luz paz <luzpaz@users.noreply.github.com>
2022-01-04 10:05:40 +01:00
Guiding Li
000568db41 libmetal: add xtensa support
make openamp can run on xtensa dsp

Signed-off-by: Guiding Li <liguiding1@xiaomi.com>
2021-10-29 13:25:39 -07:00
Arnaud Pouliquen
07c523bdd2 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>
2020-12-10 16:49:59 +01:00
Simon Leiner
5cae751afe Use metal_asm instead of asm and __asm__
This enables GCC compilation in strict mode (-std=c11 -pedantic)

Signed-off-by: Simon Leiner <simon@leiner.me>
2020-09-07 10:25:35 +02:00
Xiang Xiao
0578002b01 lib: processor: add x86 support
copy from the existing x86_64 implementation and
help to write the general Makefile.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2019-11-12 15:39:14 +08:00
liuzhuang
9296eab32d fix build break for ceva x1643
Signed-off-by: liuzhuang <liuzhuang@pinecone.net>
2019-03-22 03:07:13 -07:00
Xiang Xiao
493e6ca0dd lib: processor: add csky support
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2019-01-28 14:45:18 -08:00
anchao
5100f9a256 lib: processor: add risc-v support
Signed-off-by: anchao <anchao@pinecone.net>
2019-01-28 14:45:18 -08:00
ligd
2dc1001e79 lib: processor: add ceva support
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2019-01-28 14:45:18 -08:00
Arnaud Pouliquen
0820a2e272 microblaze: suppress io 64-bit R/W access if 64 bit atomic not supported
As we can not grant an atomic access to a 64 bit if not supported.
the access type is in charge of the application to secure 2 32-bit
access to construct a 64 bit word.


Change-Id: I990df41eaff186f728b2327df0fa0d4338f45f95
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2018-07-10 09:22:04 -07:00
Wendy Liang
9520117eee Covert license text to use SPDX tags
Replace the license text with SPDX tags

Signed-off-by: Wendy Liang <jliang@xilinx.com>
2018-04-09 23:51:01 -07:00
Ben Levinsky
04b2f30b1f lib: processor: add microblaze support
Add support for microblaze baremetal cpu operations.

Microblaze does not support 64 bit atomic operations,
so just add support for 64 bit I/O.

Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
2018-01-16 13:28:59 -08:00
Wendy Liang
26d1e6a041 Introduce metal_cpu_yield()
Introduce CPU yield in metal to provide an API for user
to use in busyloop so that the thread will not hold the cpu
or the bus.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
2016-07-22 15:42:36 -07:00
Cyril Chemparathy
893f908a47 Add processor specific atomic.h stubs
Signed-off-by: Wendy Liang <jliang@xilinx.com>
2016-03-07 15:52:21 -08:00