zephyr/kernel
Leandro Pereira 08de658eb9 kernel: mem_domain: Use u8_t for number of partitions in struct
During system initialization, the global static variable (to
mem_domain.c) is initialized with the number of maximum partitions per
domain.  This variable is of u8_t type.

Assertions throughout the code will check ranges and test for overflow
by relying on implicit type conversion.

Use an u8_t instead of u32_t to avoid doubts.  Also, reorder the
k_mem_partition struct to remove the alignment hole created by reducing
sizeof(num_partitions).

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-03-02 07:08:49 +01:00
..
include kernel/kswap.h: Hook event logger from switch-based _Swap 2018-02-16 10:44:29 -05:00
posix kernel: POSIX: correcting default thread prio & policy in attr. 2018-03-01 14:48:20 -08:00
alert.c
atomic_c.c
CMakeLists.txt kernel: POSIX: Compatibility layer for pthread APIs. 2018-02-21 19:17:28 -05:00
compiler_stack_protect.c
device.c kernel: device: Only compare strings if pointer comparison fails 2018-02-15 17:31:59 -08:00
errno.c
idle.c kernel: Simplified idle for SMP auxiliary CPUs 2018-02-16 10:44:29 -05:00
init.c kernel/include: Missed nano_internal.h -> kernel_internal.h spots 2018-02-16 10:44:29 -05:00
int_latency_bench.c
Kconfig kernel: POSIX: Compatibility layer for POSIX timer APIs. 2018-02-21 19:17:28 -05:00
Kconfig.event_logger kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.power_mgmt kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
mailbox.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
mem_domain.c kernel: mem_domain: Use u8_t for number of partitions in struct 2018-03-02 07:08:49 +01:00
mem_slab.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
mempool.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
msg_q.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
mutex.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
pipes.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
poll.c kernel/include: Missed nano_internal.h -> kernel_internal.h spots 2018-02-16 10:44:29 -05:00
queue.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
sched.c kernel: SMP-aware scheduler 2018-02-16 10:44:29 -05:00
sem.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
smp.c kernel/include: Missed nano_internal.h -> kernel_internal.h spots 2018-02-16 10:44:29 -05:00
stack.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
sys_clock.c kernel: SMP timer integration 2018-02-16 10:44:29 -05:00
system_work_q.c
thread_abort.c kernel: Allow k_thread_abort(_current) from ISRs 2018-02-16 10:44:29 -05:00
thread.c kernel/include: Missed nano_internal.h -> kernel_internal.h spots 2018-02-16 10:44:29 -05:00
timer.c kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
userspace_handler.c
userspace.c
version.c
work_q.c work_q: Correctly clear pending flag in delayed work queue, update docs 2018-02-13 18:08:57 -05:00