summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-02-01 17:16:39 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-02-01 17:16:39 +0000
commitc4e051bed7318b413bb9ba881678041acbec5991 (patch)
tree73172a91e509788d41ffc8f75d5d6ba3af7b21fb /rbutil
parenta09606123f4e8501dd527c48d493853435df2a0d (diff)
downloadrockbox-c4e051bed7318b413bb9ba881678041acbec5991.tar.gz
rockbox-c4e051bed7318b413bb9ba881678041acbec5991.zip
Align addresses in the buffering code to STORAGE_ALIGN_MASK if the target has one.
The PP502x DMA controller can only deal with doing DMA to 16-byte-aligned addresses because we have inadequate control over the cache to prevent interference. Other targets may also *prefer* cacheline aligned DMAs to reduce the number of cache operations required. Almost all disk reads in buffering.c will now be suitably aligned, allowing DMA to be used on PP502x. Original change from FS#9708 by Boris Gjenero (dreamlayers). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24440 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
0 files changed, 0 insertions, 0 deletions