Introduces K_MEM_SLAB_DEFINE_TYPE() and K_MEM_SLAB_DEFINE_STATIC_TYPE() helpers to allow the user to declare slabs for types without having to manually ensure the alignment is correct. Manual slab alignment was very error-prone and this change fixes several instances of misalignment that would be trapped by the undefined behavior sanitizer when running on 64-bit targets. Signed-off-by: Egill Sigurdur <egill@egill.xyz> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.workq | ||
| rtio_executor.c | ||
| rtio_init.c | ||
| rtio_sched.c | ||
| rtio_sched.h | ||
| rtio_syscalls.c | ||
| rtio_workq.c | ||