diff options
| author | Eric Holmberg <eholmber@codeaurora.org> | 2014-02-07 17:18:59 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-02-12 08:38:52 -0800 |
| commit | 14a18d8e9ee18786d68e1b672f82b58f0b71e440 (patch) | |
| tree | a878056f8270a561466c24f15d6400872eae59fa /scripts/gcc-wrapper.py | |
| parent | e432f9a6421bb69367f39a077be820f762ad68ac (diff) | |
soc: qcom: smd: Add memcpy functions to handle 8-byte alignment
The standard memcpy implementation is not intended to be used for device
memory and hence does not handle the more restrictive device-memory
alignment constraints. This may lead to a data abort when transferring
unaligned data to or from device memory when the transfer size is
greater than 1 byte.
Implement memcpy that will do byte-aligned copies until the address is
8-byte aligned, do multi-byte aligned copies, and then finish with
byte-aligned copies again as necessary.
Change-Id: I2da9050ca81a8dfaf24ce1b63b8339058e74ba0b
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
