OVMS3-idf/components/freertos
Angus Gratton 6fa47125b5 freertos: Fix crash when waking task on CPU1 with scheduler disabled
xPendingReadyList[1] was never initialised correctly, so if a task is added to this list (ie by xSemaphoreGiveFromISR()
or similar) while scheduler is disabled, then it causes a null pointer dereference.

Bug produces stack traces similar to:
0x40086e87: vListInsertEnd at /home/gus/esp/32/idf/components/freertos/./list.c:130
0x40084ba3: xTaskRemoveFromEventList at /home/gus/esp/32/idf/components/freertos/./tasks.c:3439
0x40083c54: xQueueGiveFromISR at /home/gus/esp/32/idf/components/freertos/./queue.c:2034
0x400f50a0: timer_group0_isr at /home/gus/esp/32/idf/components/freertos/test/./test_suspend_scheduler.c:27
0x40081d7d: _xt_lowint1 at xtensa_vectors.o:?
2017-06-28 15:00:04 +08:00
..
include/freertos Add reserved DMA/internal region 2017-05-18 16:48:52 +08:00
test freertos tests: Use CCOMPARE1 always in xPortInIsrContext() test 2017-05-10 17:26:25 +10:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
croutine.c Add UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable that to map to assert() 2016-09-27 11:36:30 +08:00
event_groups.c freertos: Fix cross-core usage of event groups 2017-02-28 12:06:36 +11:00
FreeRTOS-openocd.c Fix int wdt iram, fix some fallout of moving panic stuff to esp32 2016-10-28 12:05:42 +08:00
heap_regions.c Kill debug messages in heap allocator, delete unused var. 2017-05-16 13:13:01 +08:00
heap_regions_debug.c Add xPortGetFreeHeapSizeCaps and xPortGetMinimumEverFreeHeapSizeCaps plus everything it entails. Allows querying the available memory for various capabilities. Also: xPortGetFreeHeapSize and xPortGetMinimumEverFreeHeapSize now return the expected value. Bonus: the linked list used in the allocator is now 4 bytes smaller, which should save some memory. 2016-12-15 15:03:22 +08:00
Kconfig Fix psram silicon bug test; clean up Kconfig mess, clean out psram unused functions warnings 2017-05-16 13:11:56 +08:00
license.txt Initial public version 2016-08-17 23:08:22 +08:00
list.c Initial public version 2016-08-17 23:08:22 +08:00
port.c Release coprocessor registers when a task is deleted. 2017-05-18 15:40:54 +08:00
portasm.S Fix finding location of ISR stack space for CPU1 2017-03-28 16:19:00 +08:00
queue.c freertos: Delay context switch from queue/task APIs until exiting critical section 2017-04-04 10:10:08 +10:00
readme_smp.txt Per-CPU interrupt handlers and args 2016-11-10 17:59:46 +08:00
readme_xtensa.txt Initial public version 2016-08-17 23:08:22 +08:00
ringbuf.c bugfix: ring buffer, fix api xRingbufferReceiveUpToFromISR 2016-12-20 01:13:03 +08:00
stdint.readme Initial public version 2016-08-17 23:08:22 +08:00
tasks.c freertos: Fix crash when waking task on CPU1 with scheduler disabled 2017-06-28 15:00:04 +08:00
timers.c Add static initializers for muxes, add mutex init to vPortCPUAcquireMutex 2016-08-22 17:36:32 +08:00
xtensa_context.S Release coprocessor registers when a task is deleted. 2017-05-18 15:40:54 +08:00
xtensa_init.c Initial public version 2016-08-17 23:08:22 +08:00
xtensa_intr.c Add interrupt allocation scheme / interrupt sharing. Also modifies drivers and examples. Also allows interrupts 2016-12-08 12:39:33 +08:00
xtensa_intr_asm.S Replace non-multicore-aware rom funcs with multicore-aware funcs, ESP_LOG->ESP_EARLY_LOG fix, reserve ints used in wireless libs. Fixes WiFi crashing 2016-12-13 13:24:01 +08:00
xtensa_overlay_os_hook.c Initial public version 2016-08-17 23:08:22 +08:00
xtensa_vector_defaults.S Move debug exception vector to vector_defaults.S 2017-05-16 13:14:32 +08:00
xtensa_vectors.S Release coprocessor registers when a task is deleted. 2017-05-18 15:40:54 +08:00