Bug #66
patch for alignment buffer on xscale ARM processor
Start date:
Due date:
Estimated time:
Affected version:
5.9.2
Resolution:
Description
The "request" buffers used in the kernel_interface.c file may not always be word-aligned on the xscale big-endian arm processor. When this happens the fields are not read back properly when passed to the kernel. As a result some kernel operations such as adding SAD or SPD entries will fail. The attached patch aligns all the buffers on 32bit boundaries.
History
#1 Updated by Martin Willi almost 17 years ago
- Status changed from New to Assigned
#2 Updated by Martin Willi almost 17 years ago
- Status changed from Assigned to Closed
- Affected version set to fixed
Fixed in r4660.
I think attribute((align(4))) is sufficient, as the align attribute takes bytes, not bits.