| commit | f72dcf595c68df45134a1ac8984e5f276b1ae8fd | [log] [tgz] |
|---|---|---|
| author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Mon Oct 10 15:40:44 2016 +0200 |
| committer | Benjamin Walsh <benjamin.walsh@windriver.com> | Fri Oct 14 21:28:57 2016 +0000 |
| tree | c8e014f742b73a39043770679c7fa58c26faa192 | |
| parent | be315245a0895dac889f0a5d71c573ae94862b42 [diff] |
byteorder: Add buffer swap helpers Two functions are proposed: - sys_memcpy_swap(): will memcpy and swap the 2 given buffers - sys_mem_swap(): will swap the buffer in place. The idea is to propose 2 different functions optimized for 2 different usage. Change-Id: I1c23907c1f287b72d9be077ccf3aadbb8d379e71 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>