2017-01-12 14:47, Jerin Jacob:
> +#define rte_read8_relaxed(addr) \
> + ({ uint8_t __v = *(const volatile uint8_t *)addr; __v; })Why do you prefer a macro over an inline function? It won't provide the same "debuggability".
2017-01-12 14:47, Jerin Jacob:
> +#define rte_read8_relaxed(addr) \
> + ({ uint8_t __v = *(const volatile uint8_t *)addr; __v; })Why do you prefer a macro over an inline function? It won't provide the same "debuggability".