zephyr/include
Daniel Leung 8253b90cfc microkernel: add task pointer list
Due to similar padding issue as pipe, the list of task object
may not be used directly. As mentioned before, some compiler/linker
may pad the large struct. For example, compiling under gcc and
march=i686 pads the struct to 32-byte alignment (march=atom to
64-byte alignment). This causes issue with sizeof() and pointer
arithmetic because they have no idea about the padding.
When the stars align in a certain way, these task structs may be
corrupted. So add a task pointer list and use it for task
manipulation. The task list remains as it is beneficial to group
them together to take advantage of cache locality.

Change-Id: I0e86bfe05742040f4540d7854c1ac14e76162776
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:58 -05:00
..
arch microkernel: add task pointer list 2016-02-05 20:15:58 -05:00
bluetooth Bluetooth: Add defines for LE Connection Update Complete event 2016-02-05 20:15:40 -05:00
drivers x86: Change SHUTOFF_PIC to PIC_DISABLE 2016-02-05 20:15:41 -05:00
microkernel microkernel: add task pointer list 2016-02-05 20:15:58 -05:00
misc profiler: use new ring buffer data structure 2016-02-05 20:15:34 -05:00
net net: Create separate net_buf pool for RX and TX use 2016-02-05 20:15:39 -05:00
toolchain toolchain: rename FUNC_ALIAS parameters 2016-02-05 20:15:27 -05:00
atomic.h doxygen: javadoc style 2016-02-05 20:14:32 -05:00
device.h Fixed typo: unctions->functions 2016-02-05 20:15:34 -05:00
gpio.h gpio: change inline functions to static inline 2016-02-05 20:15:31 -05:00
i2c.h i2c: Cleaning up public interface 2016-02-05 20:15:28 -05:00
init.h toolchain.h: add __used macro 2016-02-05 20:15:19 -05:00
kernel_version.h version: Update version handling and code 2016-02-05 20:14:27 -05:00
linker-defs.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
linker-tool-gcc.h toolchain: add support for iamcu toolchain 2016-02-05 20:14:38 -05:00
linker-tool.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
microkernel.h doxygen: add defgroups to kernel services 2016-02-05 20:15:34 -05:00
nanokernel.h doc: fix name of nanokernel semaphore group 2016-02-05 20:15:58 -05:00
section_tags.h Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
sections.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
spi.h spi: Add an error callback type 2016-02-05 20:15:36 -05:00
sw_isr_table.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
sys_clock.h sys_clock: make public some timing utilities 2016-02-05 20:15:27 -05:00
sys_io.h sys_io: Add memory bit manipulation functions 2016-02-05 20:15:28 -05:00
toolchain.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00