Cyril Chemparathy 7621d6a8d0 eal: add and use unaligned integer types
On machines that are strict on pointer alignment, current code breaks
on GCC's -Wcast-align checks on casts from narrower to wider types.
This patch introduces new unaligned_uint(16|32|64)_t types, which
correctly retain alignment in such cases.  Strict alignment
architectures will need to define CONFIG_RTE_ARCH_STRICT_ALIGN in
order to effect these new types.

Signed-off-by: Cyril Chemparathy <cchemparathy@ezchip.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2015-06-24 12:00:41 +02:00
..
2015-06-12 11:10:10 +02:00
2015-03-10 11:47:46 +01:00
2015-06-12 11:10:10 +02:00
2015-06-18 18:12:47 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-02-24 20:23:11 +01:00
2015-05-11 15:51:14 +02:00
2014-11-25 13:16:24 +01:00
2015-03-10 12:17:31 +01:00
2015-06-16 12:19:20 +02:00
2014-11-27 16:21:11 +01:00
2015-03-10 11:47:46 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-02-18 12:15:31 +01:00
2015-05-11 15:51:14 +02:00
2015-05-11 15:51:14 +02:00
2014-11-26 17:27:04 +01:00
2015-05-11 15:51:14 +02:00
2015-04-20 14:37:36 +02:00
2015-03-10 11:47:46 +01:00
2015-06-12 11:10:10 +02:00
2014-09-29 15:04:55 +02:00
2015-05-11 15:51:14 +02:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-04-20 19:58:54 +02:00