zephyr/lib/libc/minimal/include/sys
Nicolas Pitre 03170c040c string.c: make it 64-bit compatible
Casting a pointer to an int produces warnings with 64-bit targets.
Furthermore, an int is not always the optimal memory element that
can be copied in that case.

Let's use uintptr_t to cast pointers to integers for alignment
determination purposes, and mem_word_t to denote the optimal memory
"word" that can be copied on the platform.

The mem_word_t definition is equivalent to uintptr_t by default.
However, some 32-bit targets such as ARM platforms with the LDRD/STRD
instructions could benefit from word_t being an uint64_t.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-06-07 13:19:51 -07:00
..
_timeval.h libc: minimal: Introduce sys/_timeval.h 2019-05-07 22:18:09 -04:00
cdefs.h libc: minimal: Add empty sys/cdefs.h 2017-06-21 12:35:49 -04:00
stat.h libc: minimal: Add dummy sys/stat.h [REVERTME] 2018-10-10 13:31:00 -04:00
types.h string.c: make it 64-bit compatible 2019-06-07 13:19:51 -07:00