circuitpython/ports/mimxrt10xx/supervisor
Christian Walther c7404a3ff8 Add movable allocation system.
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap.

By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
2020-11-28 17:50:23 +01:00
..
cpu.S Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
flexspi_nor_flash_ops.c Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00
internal_flash.c Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00
internal_flash.h Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00
internal_flash_root_pointers.h Add initial MIMXRT10XX port 2020-01-06 21:08:49 +01:00
port.c Add movable allocation system. 2020-11-28 17:50:23 +01:00
serial.c Fix up end of file and trailing whitespace. 2020-06-03 10:56:35 +01:00
usb.c Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00