zephyr/kernel/include
Andrew Boie 42a2c96422 newlib: fix heap user mode access for MPU devices
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>
2018-05-10 15:09:02 -07:00
..
gen_offset.h
kernel_internal.h newlib: fix heap user mode access for MPU devices 2018-05-10 15:09:02 -07:00
kernel_offsets.h kernel: SMP-aware scheduler 2018-02-16 10:44:29 -05:00
kernel_structs.h kernel: SMP-aware scheduler 2018-02-16 10:44:29 -05:00
ksched.h kernel: Prune ksched.h of dead code 2018-04-25 13:13:23 -07:00
kswap.h kernel: Rework SMP irq_lock() compatibility layer 2018-05-02 10:00:17 -07:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
syscall_handler.h drivers: Perform a runtime check if a driver is capable of an operation 2018-04-26 02:57:12 +05:30
timeout_q.h kernel: Clean up _unpend_thread() API 2018-04-24 03:57:20 +05:30
wait_q.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00