Jeroen Domburg
fa6cf92ee1
Fix int level 4 panics to give a correct backtrace. Add cache invalid access interrupt to panic handler reasons and wire it up to panic(). Fix issue where cache was re-enabled for pro cpu and pro cpu continuing execution while cache was still disabled on app cpu.
2017-03-28 11:50:22 +08:00
Jeroen Domburg
068899c93b
Add Doom psram test, fix free_heap_size/minimum_ever_heap_size calls to also understand combinations of caps, add psram support to allocator. At the moment, psram only works for the first core because of some funny business in the MMU of the 2nd core.
2017-03-28 11:48:03 +08:00
Jeroen Domburg
93e72649dc
Fix memory debugging code
2016-12-19 18:48:08 +08:00
Jeroen Domburg
6f0a494cae
Add testcase, fix executable memory allocated in shared dram/iram region
2016-12-15 15:03:22 +08:00
Jeroen Domburg
1e117dc3d3
Fix small things noticed in MR, add documentation
2016-12-15 15:03:22 +08:00
Jeroen Domburg
293ad4cd36
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
Jeroen Domburg
3f3cf397f7
Tabs -> spaces
2016-12-15 15:03:22 +08:00
liuzhifu
b21d2dfa6b
FreeRTOS: temporary solution for memory canaries and memory debug
...
1. This is just a temporary solution, it will be removed when umm_malloc is ready
2. Support memory canaries mechanism
2. Add debug code to show allocated memory info
2016-09-07 21:52:24 +08:00
Jeroen Domburg
925fbb587e
Add static initializers for muxes, add mutex init to vPortCPUAcquireMutex
2016-08-22 17:36:32 +08:00
Ivan Grokhotkov
bd6ea4393c
Initial public version
2016-08-17 23:08:22 +08:00