1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/esp32
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 esp32 2018-10-08 12:20:49 +02:00
esp-can cpu: add esp32 2018-10-08 12:20:49 +02:00
esp-eth cpu/esp32: esp_eth doesn't call memcpy if iol_len is 0 2019-03-14 16:57:26 +01:00
esp-wifi cpu/esp32: esp_wifi doesn't call memcpy if iol_len is 0 2019-03-14 16:11:24 +01:00
freertos cpu: add esp32 2018-10-08 12:20:49 +02:00
include cpu/esp_common: doc fixes 2019-04-15 12:50:44 +02:00
ld cpu: add esp32 2018-10-08 12:20:49 +02:00
periph cpu/esp32: add new uart_mode API function 2019-03-28 16:36:04 +01:00
vendor cpu/esp32: move xtensa lib to esp_common 2019-04-15 11:45:59 +02:00
doc.txt cpu/esp32: revise CAN support 2019-04-17 16:59:39 +02:00
esp_events.c cpu: add esp32 2018-10-08 12:20:49 +02:00
esp_xtimer.c cpu: add esp32 2018-10-08 12:20:49 +02:00
exceptions.c cpu: add esp32 2018-10-08 12:20:49 +02:00
gen_esp32part.py cpu: add esp32 2018-10-08 12:20:49 +02:00
irq_arch.c cpu: add esp32 2018-10-08 12:20:49 +02:00
log_module.c cpu: add esp32 2018-10-08 12:20:49 +02:00
Makefile cpu/esp_common: added for common files for ESP SoC 2018-12-27 17:28:46 +01:00
Makefile.dep cpu/esp32: use newlib_syscalls_default by default 2019-04-11 16:22:47 +02:00
Makefile.features cpu: add esp32 2018-10-08 12:20:49 +02:00
Makefile.include cpu/esp32: resolve esptool.py warning 2019-04-18 09:56:29 +02:00
periph_cpu.c cpu: add esp32 2018-10-08 12:20:49 +02:00
startup.c cpu/esp32: allow explicit ESP32 crystal freq configuration 2018-10-30 16:42:07 -07:00
syscalls.c cpu/esp32: add memset that cannot be optimized out 2019-01-17 13:50:56 +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 esp32 2018-10-08 12:20:49 +02:00