mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 02:31:57 +00:00
MPU devices that enforce power-of-two alignment now specify the size of the buffer used for the newlib heap. This buffer will be properly aligned and a pointer exposed in a kernel header, such that it can be added to a user thread's memory domain configuration if necessary. MPU devices that don't have these restrictions allocate the heap as normal. In all cases, if an MPU/MMU region needs to be programmed, the z_newlib_get_heap_bounds() API will return the necessary information. Given how precious MPU regions are, no automatic programming of the MPU is done; applications will need to do this as needed in their memory domain configurations. On x86, the x86 MMU-specific code has been moved to arch/x86 using the new z_newlib_get_heap_bounds() API. Fixes: #6814 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
include | ||
alert.c | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
idle.c | ||
init.c | ||
int_latency_bench.c | ||
Kconfig | ||
Kconfig.event_logger | ||
Kconfig.power_mgmt | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
sys_clock.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |