zephyr/arch/arc
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
..
core arc: fix the pollution of lp_xxx regs in _rirq_return_from_coop 2019-01-17 07:45:01 -05:00
include arch: arc: Remove priv_stack_size field form _thread_arch 2018-12-12 09:24:47 -08:00
CMakeLists.txt cmake: Remove dead code LTO references 2018-12-21 21:04:18 +01:00
Kconfig kconfig: move soc selection to ZEPHYR_BASE/soc/ 2018-09-13 00:56:48 -04:00
defconfig boards: cleanup and update the default config of arc boards 2018-08-24 09:31:24 -07:00