zephyr/arch/arc/core
Wayne Ren 56650aff7e arch: arc: fix the bug in prologue of sys call handling
* the old codes may not save the caller saved regs correctly,
  e.g. r7- r12. Because the sys call entry is called in the form
  of static inline function. The compiler optimizations may not save
  all the caller saved regs.

* new codes use the irq stack frame as the sys call frame and gurantee
  all the called saved regs are pushed and popped correctly.

* the side effect of new codes are more stack operations and a little
  overhead.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2019-10-01 09:22:30 -04:00
..
mpu arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
offsets arch: arc: fix and optimize the handling of SECT_STAT.IRM 2019-08-28 08:22:14 +02:00
secureshield arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
CMakeLists.txt arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
arc_connect.c arc: arc_connect: bug fix in arc_connect 2019-09-17 20:40:38 +08:00
arc_smp.c arch: arc: use _curr_cpu to replace _curr_irq_stack 2019-08-28 08:22:14 +02:00
cache.c arch: arc: build cache.c conditionally 2019-07-04 10:04:27 -04:00
cpu_idle.S arc: rename k_cpu_sleep_mode 2019-09-30 15:25:55 -04:00
fast_irq.S arch: arc: fix the bug in _firq_enter 2019-09-27 11:36:17 -04:00
fatal.c kernel: remove z_fatal_print() 2019-09-12 05:17:39 -04:00
fault.c kernel: remove z_fatal_print() 2019-09-12 05:17:39 -04:00
fault_s.S arch: arc: fix the bug in prologue of sys call handling 2019-10-01 09:22:30 -04:00
irq_manage.c arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
irq_offload.c kernel: add arch abstraction for irq_offload() 2019-10-01 11:11:42 +02:00
isr_wrapper.S debug: tracing: Remove unneeded abstraction 2019-09-26 06:26:22 -04:00
prep_c.c arch: arc: add initial support of SMP 2019-08-07 12:21:00 +02:00
regular_irq.S arc: replace 32-bit instructions with possible 16-bit instructions 2019-09-08 12:36:02 +02:00
reset.S kernel: rename main/idle thread/stacks 2019-09-30 15:25:55 -04:00
switch.S arc: replace 32-bit instructions with possible 16-bit instructions 2019-09-08 12:36:02 +02:00
thread.c kernel: rename z_new_thread() 2019-09-30 15:25:55 -04:00
thread_entry_wrapper.S kernel: rename z_new_thread() 2019-09-30 15:25:55 -04:00
timestamp.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
userspace.S arch: arc: fix the bug in prologue of sys call handling 2019-10-01 09:22:30 -04:00
vector_table.c all: Update reserved function names 2019-03-11 13:48:42 -04:00