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.max3421e | ||
| Kconfig.mcux | ||
| Kconfig.virtual | ||
| uhc_common.c | ||
| uhc_common.h | ||
| uhc_max3421e.c | ||
| uhc_max3421e.h | ||
| uhc_mcux_common.c | ||
| uhc_mcux_common.h | ||
| uhc_mcux_ehci.c | ||
| uhc_mcux_ip3516hs.c | ||
| uhc_mcux_khci.c | ||
| uhc_mcux_ohci.c | ||
| uhc_virtual.c | ||