Browse Source
Similar to PACK_STRUCT it provide safe access to possible unaligned data but it is much more convenient to use with non-struct types since all one need to do is add a cast e.g. UNALIGNED_GET((uint16_t *) data). Change-Id: I46402bdf1dd13081fe340a7214a84750a6cf04d2 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>master


1 changed files with 9 additions and 0 deletions
Loading…
Reference in new issue