Michael Bruno a7092d400c
Fix XCore DP/CP register corruption bug (#352)
The kernel code that runs within RTOS ISRs requires that DP and CP not
be changed from their initial values. If a task changes them and is
interrupted while they are changed, then they must be restored for the
ISR. This commit implements this.

This relies on a corresponding change to the xcore lib_rtos_support.
2021-06-28 08:44:24 -07:00
..
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00
2021-03-15 17:29:08 -07:00

Each real time kernel port consists of three files that contain the core kernel
components and are common to every port, and one or more files that are
specific to a particular microcontroller and/or compiler.


+ The FreeRTOS/Source/Portable/MemMang directory contains the five sample
memory allocators as described on the https://www.FreeRTOS.org WEB site.

+ The other directories each contain files specific to a particular
microcontroller or compiler, where the directory name denotes the compiler
specific files the directory contains.



For example, if you are interested in the [compiler] port for the [architecture]
microcontroller, then the port specific files are contained in
FreeRTOS/Source/Portable/[compiler]/[architecture] directory.  If this is the
only port you are interested in then all the other directories can be
ignored.