zephyr/arch/arc/core
Wayne Ren ef224ce1cd ARC: make the assembly codes compatible
Make the assembly codes compatible with both GNU
and Metaware toolchain.

* replace ".balign" with ".align"
  ".align" assembler directive is supposed by all
  ARC toolchains and it is implemented in a same
  way across ARC toolchains.
* replace "mov_s __certain_reg" with "mov __certain_reg"
  Even though GCC encodes those mnemonics and even real
  HW executes them according to PRM these are restricted
  ones for mov_s and CCAC rightfully refuses to accept
  such mnemonics. So for compatibility and clarity sake
  we switch to 32-bit mov instruction which allows use
  of all those instructions.
* Add "%%" prefix while accessing registers from inline
  ASM as it is required by MWDT.
* Drop "@" prefix while accessing symbols (defined in C
  code) from ASM code as it is required by MWDT.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>

/#
2020-09-05 10:22:56 -05:00
..
mpu device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
offsets
secureshield device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
arc_connect.c
arc_smp.c isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
cache.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
CMakeLists.txt gcov: Add coverage support for arc qemu platform 2020-08-26 12:32:39 +02:00
cpu_idle.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
fast_irq.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
fatal.c
fault_s.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
fault.c kernel: overhaul stack specification 2020-07-30 21:11:14 -04:00
irq_manage.c ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
irq_offload.c arch: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
isr_wrapper.S tracing: arc: depend on CONFIG_TRACING_ISR for ISRs 2020-08-24 13:21:12 +02:00
prep_c.c
regular_irq.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
reset.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
switch.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
thread_entry_wrapper.S
thread.c kernel: overhaul stack specification 2020-07-30 21:11:14 -04:00
timestamp.c
userspace.S ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
vector_table.c
vector_table.ld