zephyr/kernel
Nicolas Pitre 39cd2ebef7 malloc: make sure returned memory is properly aligned
The accounting data stored at the beginning of a memory block used by
malloc must push the returned memory address to a word boundary. This
is already the case on 32-bit systems, but not on 64-bit systems where
e.g. struct k_mem_block_id still has a size of 4.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-07-03 14:17:29 -07:00
..
include userspace: minor typo fixes in various places 2019-07-02 19:18:48 -04:00
CMakeLists.txt kernel: add futex support 2019-06-24 15:38:21 -07:00
Kconfig kernel: Crank up default tick rate 2019-07-02 22:52:29 -04:00
Kconfig.power_mgmt
atomic_c.c cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
compiler_stack_protect.c
device.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
errno.c
futex.c kernel: delete k_futex_init() 2019-07-01 08:15:10 -07:00
idle.c cleanup: include/: move power.h to power/power.h 2019-06-27 22:55:49 -04:00
init.c cleanup: include/: move misc/stack.h to debug/stack.h 2019-06-27 22:55:49 -04:00
mailbox.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mem_domain.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
mem_slab.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mempool.c malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
msg_q.c cleanup: include/: move misc/math_extras.h to sys/math_extras.h 2019-06-27 22:55:49 -04:00
mutex.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
pipes.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
poll.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
queue.c cleanup: include/: move misc/sflist.h to sys/sflist.h 2019-06-27 22:55:49 -04:00
sched.c kernel/sched: Interpret zero timeslice time correctly 2019-07-02 22:52:29 -04:00
sem.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
system_work_q.c
thread.c kernel: fix CONFIG_THREAD_NAME from user mode. 2019-07-01 16:29:45 -07:00
thread_abort.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
timeout.c kernel/timeout: Remove "clock_always_on", replace with "SLOPPY_IDLE" 2019-06-28 14:24:56 -07:00
timer.c linker generated list: provide an iterator to simplify list access 2019-06-06 14:21:32 -07:00
userspace.c cleanup: include/: move misc/rb.h to sys/rb.h 2019-06-27 22:55:49 -04:00
userspace_handler.c
version.c
work_q.c kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00