1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp8266
Gunar Schorcht 09a2a11dd7 cpu/esp: fix computation of coprocessor save area
`top_of_stack` isn't aligned down to the previous 16 byte aligned address. Furthermore, `top_of_stack` as well as `XT_CP_SIZE` are used unaligned in `cpu/esp_common/vendor/xtensa/portasm.S` in the address computation for the coprocessor save area, .

Aligning pointer `p` down to the previous 16 byte aligned address results in a wrong address of the coprocessor save area during the initialization of the thread context. This leads to wrong values and wrong positions of these values in the coprocessor save area in inital thread context.

Since ESP8266 doesn't have a coprocessor, this bug affects only ESP32.
2019-04-27 13:23:04 +02:00
..
bin cpu: add esp8266 2018-09-05 02:39:50 +02:00
esp-wifi cpu/esp8266: netstats removed from esp_wifi 2019-02-07 15:44:04 +01:00
include cpu/esp_common: doc fixes 2019-04-15 12:50:44 +02:00
ld cpu/esp8266: modified ld file for non-SDK version 2019-02-10 13:55:42 +01:00
periph cpu/esp8266: new ets_task thread 2019-01-21 16:30:33 +01:00
sdk cpu/esp8266: SDK interrupt handling removed 2019-04-15 11:45:59 +02:00
vendor cpu/esp8266: move xtensa lib to esp_common 2019-04-15 11:46:57 +02:00
doc.txt cpu/esp8266: doc fixes 2019-03-05 16:43:45 +01:00
exceptions.c cpu/esp8266: SDK interrupt handling removed 2019-04-15 11:45:59 +02:00
irq_arch.c cpu: add esp8266 2018-09-05 02:39:50 +02:00
Makefile cpu/esp8266: makefile support for esp_wifi 2019-01-24 09:21:17 +01:00
Makefile.dep cpu/esp8266: fix compile problems 2019-01-29 23:25:31 +01:00
Makefile.features cpu: add esp8266 2018-09-05 02:39:50 +02:00
Makefile.include cpu/esp8266: move xtensa lib to esp_common 2019-04-15 11:46:57 +02:00
periph_cpu.c cpu: add esp8266 2018-09-05 02:39:50 +02:00
startup.c cpu/esp8266: SDK interrupt handling removed 2019-04-15 11:45:59 +02:00
syscalls.c cpu/esp8266: use SDK mem management for esp_wifi 2019-01-24 09:21:17 +01:00
thread_arch.c cpu/esp: fix computation of coprocessor save area 2019-04-27 13:23:04 +02:00
tools.c cpu: add esp8266 2018-09-05 02:39:50 +02:00