CHERIoT-Platform / cheriot-rtos

The RTOS components for the CHERIoT research platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heaps are insufficiently aligned on systems with > 256 KiB of RAM

davidchisnall opened this issue · comments

The heap start is 512-byte aligned. This is fine for heaps up to 256 KiB, but above that causes problems. The loader should treat the heap import region specially and align the start correctly for the available size.