zephyr/arch
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
..
arc ARC: make the assembly codes compatible 2020-09-05 10:22:56 -05:00
arm arch: arm64: Use _arch_switch() API 2020-09-05 12:06:38 +02:00
common arch: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
nios2 arch: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
posix toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
riscv arch: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
x86 toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
xtensa isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig mmu: support only identity RAM mapping 2020-09-03 14:24:38 -04:00