summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-01-14 15:06:51 +1100
committerPaul Mackerras <paulus@samba.org>2006-01-14 15:06:51 +1100
commitb4e7de0f3575f4862f04921c5bd0cb5680cc8d71 (patch)
treeb74a9a277168b35119d9dd5657ab567c21fc2111 /kernel
parent66a45dd3620ee5f913ba1af3d2dca8b9bdfa2b96 (diff)
downloadop-kernel-dev-b4e7de0f3575f4862f04921c5bd0cb5680cc8d71.zip
op-kernel-dev-b4e7de0f3575f4862f04921c5bd0cb5680cc8d71.tar.gz
powerpc: Avoid unaligned loads and stores in boot memcpy code
The 601 processor will generate an alignment exception for accesses which cross a page boundary. In the boot wrapper code, OF is still handling all exceptions, and it doesn't have an alignment exception handler that emulates the instruction and continues. This changes the memcpy and memmove routines in the boot wrapper to avoid doing unaligned accesses. If the source and destination are misaligned with respect to each other, we just copy one byte at a time. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud