7#ifndef ZEPHYR_INCLUDE_SYS_WORD_GRANULAR_H_
8#define ZEPHYR_INCLUDE_SYS_WORD_GRANULAR_H_
29#ifndef __mem_word_t_defined
30#define __mem_word_t_defined
40typedef uintptr_t __attribute__((may_alias)) mem_word_t;
42#define Z_MEM_WORD_T_WIDTH __INTPTR_WIDTH__
45BUILD_ASSERT(Z_MEM_WORD_T_WIDTH == 32,
"Unsupported word width for access to "
46 "word granular access memory");
void * memcpy_from_word_granular_access(void *d, const void *s, size_t n)
Memcpy buffer out of word granular access memory.
void * memset_word_granular_access(void *buf, int c, size_t n)
Memset buffer in word granular access memory.
void * memcpy_to_word_granular_access(void *d, const void *s, size_t n)
Memcpy buffer into word granular access memory.
__UINTPTR_TYPE__ uintptr_t
Definition stdint.h:105