Go to file
Peter Mitsis ad71ba6fa1 Ensure k_args fields are properly aligned and packed
The size of the k_args strcture must be equivalent to ...
    CMD_PKT_SIZE_IN_WORDS * sizeof(uint32_t)

This is complicated by the fact that not only do different compilers treat the
size of 'bool' and 'enum' types differently, they may also pad structures
differently.  Both of these differences have direct impacts on the k_args
structure.  To work around this, the k_args fields 'alloc' and 'Comm' are
forcibly aligned to a 4-byte boundary, while the rest of the k_args structure
is packed.

Change-Id: I722f1a585e5e34a7a7218ed0b214b54fac6d39f7
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:14:16 -05:00
arch Add simple UART driver 2016-02-05 20:14:16 -05:00
config Rename VPF files to use MDEF file extension 2016-02-05 20:14:15 -05:00
doc Rename VXMICRO_GCC_VARIANT to ZEPHYR_GCC_VARIANT 2016-02-05 20:14:15 -05:00
drivers Add simple UART driver 2016-02-05 20:14:16 -05:00
include Add __may_alias macro to GCC toolchain 2016-02-05 20:14:16 -05:00
kernel Ensure k_args fields are properly aligned and packed 2016-02-05 20:14:16 -05:00
lib/libc libc: Add tolower implementation 2016-02-05 20:14:14 -05:00
misc Eliminate obsolete coding convention comments 2016-02-05 20:14:14 -05:00
net Apply __stack tag to align bluetooth defined fiber stacks 2016-02-05 20:14:13 -05:00
samples Fixed make target for running in qemu (nanokernel) 2016-02-05 20:14:16 -05:00
scripts Remove unused files from scripts/ 2016-02-05 20:14:16 -05:00
shared/include/nanokernel/x86 Replace use of __attribute__((packed)) with __packed 2016-02-05 20:14:13 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore Add tools and Makefiles for Documentation 2016-02-05 20:13:58 -05:00
.mailmap First commit 2015-04-10 16:44:37 -07:00
Kconfig Kconfig: make architecture kconfig independent 2016-02-05 20:14:11 -05:00
Makefile Remove more kernel module related references 2016-02-05 20:14:16 -05:00
Makefile.inc Rename VPF files to use MDEF file extension 2016-02-05 20:14:15 -05:00
timo-env.sh Eliminate VxMicro branding in build system 2016-02-05 20:14:15 -05:00