There is a special internal understanding between `z_alloc_helper()` and `sys_heap_aligned_alloc()` for the meaning of non-power-of-two alignment values. There was a time when `z_alloc_helper()` was expressed in terms of `k_heap_aligned_alloc()` so the later had to accept special alignment values from the former. This is no longer the case and `k_heap_aligned_alloc()` should enforce proper alignment values now. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
|---|---|---|
| .. | ||
| include | ||
| paging | ||
| atomic_c.c | ||
| banner.c | ||
| busy_wait.c | ||
| CMakeLists.txt | ||
| compiler_stack_protect.c | ||
| condvar.c | ||
| cpu_mask.c | ||
| device.c | ||
| dynamic_disabled.c | ||
| dynamic.c | ||
| errno.c | ||
| events.c | ||
| fatal.c | ||
| float.c | ||
| futex.c | ||
| idle.c | ||
| init.c | ||
| ipi.c | ||
| irq_offload.c | ||
| Kconfig | ||
| Kconfig.device | ||
| Kconfig.init | ||
| Kconfig.mem_domain | ||
| Kconfig.obj_core | ||
| Kconfig.smp | ||
| Kconfig.vm | ||
| kheap.c | ||
| mailbox.c | ||
| main_weak.c | ||
| mem_domain.c | ||
| mem_slab.c | ||
| mempool.c | ||
| mmu.c | ||
| msg_q.c | ||
| mutex.c | ||
| nothread.c | ||
| obj_core.c | ||
| pipe.c | ||
| pipes.c | ||
| poll.c | ||
| priority_queues.c | ||
| queue.c | ||
| sched.c | ||
| sem.c | ||
| smp.c | ||
| spinlock_validate.c | ||
| stack.c | ||
| system_work_q.c | ||
| thread_monitor.c | ||
| thread.c | ||
| timeout.c | ||
| timer.c | ||
| timeslicing.c | ||
| usage.c | ||
| userspace_handler.c | ||
| userspace.c | ||
| version.c | ||
| work.c | ||
| xip.c | ||