zephyr/arch
Wayne Ren 8f47802d73 arc: fix the pollution of lp_xxx regs in _rirq_return_from_coop
in the _rirq_return_from_coop, a fake irq stack frame is created.
But the value of lp_start, lp_end, lp_count are not set correctly.
When rtie is executed, the zero-overhead loop will be enabled, if
the pc crosses the value of lp_end and lp_count is not zero. The pc
will jump to lp_start. This will break down the system.

This commit fixs this bug and set the correct value of lp_start, lp_end
and lp_count(only need to set lp_count).

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2019-01-17 07:45:01 -05:00
..
arc arc: fix the pollution of lp_xxx regs in _rirq_return_from_coop 2019-01-17 07:45:01 -05:00
arm Gcov: Added support for ARM. 2019-01-16 06:12:33 -05:00
common tests/benchmarks/timing: Unify the "standard zephyr timing" cases 2019-01-11 15:18:52 -05:00
nios2 arch: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
posix cmake: Remove dead code LTO references 2018-12-21 21:04:18 +01:00
riscv32 arch: riscv32: provide a general mechanism for saving SoC context 2018-12-04 22:54:23 -05:00
x86 Gcov: Added support for x86. 2019-01-16 06:12:33 -05:00
x86_64 arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
xtensa esp32: fix build error regarding multiplt BIT() definitions 2019-01-11 15:05:31 -08:00
CMakeLists.txt arch: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for arch files. 2018-05-15 17:48:18 +03:00
Kconfig Gcov: Added linker changes needed by Gcov. 2019-01-16 06:12:33 -05:00