diff options
author | Cástor Muñoz <cmvidal@gmail.com> | 2016-02-12 01:06:31 +0100 |
---|---|---|
committer | Cástor Muñoz <cmvidal@gmail.com> | 2016-02-14 15:19:31 +0100 |
commit | 929be521d4dd8a0ed3b3a42cd22e1659407ce83a (patch) | |
tree | 63fb57d90cef4f5d1908b39a09345865aeb61a64 /firmware/asm/thread-win32.c | |
parent | 3216f390c55d9970079b785a41aae5e7582b4a54 (diff) |
iPod Classic: fix buffer alignment on HDD driver
Read/write buffers who are aligned to 16 were not re-aligned to 32 as
it should be. Althrough USB storage and buffering are always passing
buffers aligned to 32, a few unaligned buffers are being received from
other tasks, so this patch could solve some rare random issues.
Also fixes DMA configuration for HDDs that support any MDMA mode but
only UDMA0 (probably will never happen).
Change-Id: I00219ae434205681c69293fc563e0526224c9adf
Diffstat (limited to 'firmware/asm/thread-win32.c')
0 files changed, 0 insertions, 0 deletions