zephyr/include/arch/x86
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
..
addr_types.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
arch.h doxygen: nanokernel doxygenation 2016-02-05 20:15:34 -05:00
asm_inline_gcc.h sys_io: Add memory bit manipulation functions 2016-02-05 20:15:28 -05:00
asm_inline.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
asm.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
linker-common-sections.h microkernel: add task pointer list 2016-02-05 20:15:58 -05:00
linker-defs-arch.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
linker-epilog.h Add .debug_macro for DWARF4 2016-02-05 20:14:27 -05:00
segselect.h remove shared/ and create files directly 2016-02-05 20:15:25 -05:00