zephyr/arch/arc/include
Wayne Ren 3d9ba10b5c arch: arc: bug fixes and optimization in exception handling
The original exception handling has space to optimize and
and some bugs need to be fixed.

* define NANO_ESF
   * add the definition of NANO_ESF which is an irq_stack_frame
   * add the corresponding codes in exception entry and handler
   * remove _default_esf
* implement the _ARCH_EXCEPT
   * use trap exception to raise exception by kernel
   * add corresponding trap exception entry
   * add _do_kernel_oops to handle the exception raised by
     _ARCH_EXCEPT.
* add the thread context switch in exception return
   * case: kernel oops may raise thread context switch
   * case: some tests will re-implement SysFatalHandler to raise
     thread context switch.
   * as the exception and isr are handled in kernel isr stack, so
     the thread context switch must be in the return of exception/isr
     , and the exception handler must return, should not be decorated
     with FUNC_NORETURN
* for arc, _is_in_isr should consider the case of exception

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2018-04-17 10:50:12 -07:00
..
v2 arch: arc: save user thread's context into privilege stack 2018-02-16 12:20:16 +01:00
kernel_arch_data.h arch: arc: bug fixes and add user space support in secure mode 2018-02-16 12:20:16 +01:00
kernel_arch_func.h arch: arc: bug fixes and optimization in exception handling 2018-04-17 10:50:12 -07:00
kernel_arch_thread.h arch: arc: add user space support for arc 2018-02-16 12:20:16 +01:00
kernel_event_logger_arch.h
offsets_short_arch.h
swap_macros.h arch: arc: bug fixes and add user space support in secure mode 2018-02-16 12:20:16 +01:00
vector_table.h linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00