zephyr/arch/arc/include
Wayne Ren 528c960ae7 arch: arc: Add the support of secure mode for em
In ARC's SecureShield, a new secure mode (currently only em) is added.
The secure/normal mode is orthogonal to kernel/user mode. The
differences between secure mode and normal mode are following:

* different irq stack frame. so need to change the definition of
  _irq_stack_frame, assembly code.

* new aux regs, e.g, secure status(SEC_STAT), secure vector base
  (VECT_BASE_S)

* interrupts and exceptions, secure mode has its own vector base;
  interrupt can be configured as secure or normal through the
  interrupt priority aux reg.

* secure timers. Two secure timers (secure timer 0 and timer 1) are
  added.Here, for simplicity and backwards compatibility original
  internal timers (timer 0 and timer1) are used as sys clock of zephyr

* on reset, the processor is in secure mode and secure vector base is
  used.

Note: the mix of secure and normal mode is not supported, i.e. it's
assumed that the processor is always in secure mode.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2017-12-13 12:05:33 -05:00
..
v2 arch: arc: add nested interrupt support 2017-08-10 12:47:15 -04:00
kernel_arch_data.h arch: arc: Add the support of secure mode for em 2017-12-13 12:05:33 -05:00
kernel_arch_func.h
kernel_arch_thread.h cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
kernel_event_logger_arch.h
offsets_short_arch.h
swap_macros.h
vector_table.h linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00