Xtensa [patch] Use syscall 0 to spill registers on ESP32
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
According to the ISA section 8.2.2 syscall 0 should be implemented by the OS to flush registers to stack for windowed systems. This syscall is implemented in the esp-idf. Attached a patch that simplifies the forceSpilledRegs function in the xtensa rtl to use this syscall.
Mantis conversion info:
- Mantis ID: 39221
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 49609 (#1c13db55)